Merge "Fix some typos"

This commit is contained in:
Jenkins 2016-07-06 18:06:48 +00:00 committed by Gerrit Code Review
commit ddbdabce0a
2 changed files with 3 additions and 3 deletions

View File

@ -888,8 +888,8 @@ class _BaseTaskTestCase(object):
reset_forced_destinations.assert_called_once_with()
sched_instances.assert_called_once_with(self.context, request_spec,
filter_properties)
# NOTE(sbauza): Since the instance is dehydrated when passing thru
# the RPC API, we can only assert mock.ANY for it
# NOTE(sbauza): Since the instance is dehydrated when passing
# through the RPC API, we can only assert mock.ANY for it
unshelve_instance.assert_called_once_with(
self.context, mock.ANY, host['host'], image=mock.ANY,
filter_properties=filter_properties, node=host['nodename']

View File

@ -334,7 +334,7 @@ class MigrationMonitorTestCase(test.NoDBTestCase):
def test_live_migration_find_type_bad_err(self, mock_active):
mock_active.side_effect = fakelibvirt.make_libvirtError(
fakelibvirt.libvirtError,
"Something wierd happened",
"Something weird happened",
error_code=fakelibvirt.VIR_ERR_INTERNAL_ERROR)
self.assertEqual(migration.find_job_type(self.guest, self.instance),