diff options
Diffstat (limited to 'nova/tests/unit/objects/test_instance_group.py')
-rw-r--r-- | nova/tests/unit/objects/test_instance_group.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/unit/objects/test_instance_group.py b/nova/tests/unit/objects/test_instance_group.py index 41efd08a36..5ea566fea7 100644 --- a/nova/tests/unit/objects/test_instance_group.py +++ b/nova/tests/unit/objects/test_instance_group.py @@ -13,8 +13,8 @@ # under the License. import copy +from unittest import mock -import mock from oslo_serialization import jsonutils from oslo_utils.fixture import uuidsentinel as uuids from oslo_utils import timeutils @@ -317,7 +317,7 @@ class _TestInstanceGroupObject(object): obj_primitive = obj.obj_to_primitive() self.assertIn('policy', data(obj_primitive)) self.assertIn('policies', data(obj_primitive)) - # Before 1.10, only has polices which is the list of policy name + # Before 1.10, only has policies which is the list of policy name obj_primitive = obj.obj_to_primitive('1.10') self.assertNotIn('policy', data(obj_primitive)) self.assertIn('policies', data(obj_primitive)) |