Merge "Fix some typos"
This commit is contained in:
commit
ddbdabce0a
@ -888,8 +888,8 @@ class _BaseTaskTestCase(object):
|
|||||||
reset_forced_destinations.assert_called_once_with()
|
reset_forced_destinations.assert_called_once_with()
|
||||||
sched_instances.assert_called_once_with(self.context, request_spec,
|
sched_instances.assert_called_once_with(self.context, request_spec,
|
||||||
filter_properties)
|
filter_properties)
|
||||||
# NOTE(sbauza): Since the instance is dehydrated when passing thru
|
# NOTE(sbauza): Since the instance is dehydrated when passing
|
||||||
# the RPC API, we can only assert mock.ANY for it
|
# through the RPC API, we can only assert mock.ANY for it
|
||||||
unshelve_instance.assert_called_once_with(
|
unshelve_instance.assert_called_once_with(
|
||||||
self.context, mock.ANY, host['host'], image=mock.ANY,
|
self.context, mock.ANY, host['host'], image=mock.ANY,
|
||||||
filter_properties=filter_properties, node=host['nodename']
|
filter_properties=filter_properties, node=host['nodename']
|
||||||
|
@ -334,7 +334,7 @@ class MigrationMonitorTestCase(test.NoDBTestCase):
|
|||||||
def test_live_migration_find_type_bad_err(self, mock_active):
|
def test_live_migration_find_type_bad_err(self, mock_active):
|
||||||
mock_active.side_effect = fakelibvirt.make_libvirtError(
|
mock_active.side_effect = fakelibvirt.make_libvirtError(
|
||||||
fakelibvirt.libvirtError,
|
fakelibvirt.libvirtError,
|
||||||
"Something wierd happened",
|
"Something weird happened",
|
||||||
error_code=fakelibvirt.VIR_ERR_INTERNAL_ERROR)
|
error_code=fakelibvirt.VIR_ERR_INTERNAL_ERROR)
|
||||||
|
|
||||||
self.assertEqual(migration.find_job_type(self.guest, self.instance),
|
self.assertEqual(migration.find_job_type(self.guest, self.instance),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user