diff options
Diffstat (limited to 'nova/tests/unit/compute/test_shelve.py')
-rw-r--r-- | nova/tests/unit/compute/test_shelve.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/tests/unit/compute/test_shelve.py b/nova/tests/unit/compute/test_shelve.py index b8f2383796..c16349bbec 100644 --- a/nova/tests/unit/compute/test_shelve.py +++ b/nova/tests/unit/compute/test_shelve.py @@ -367,8 +367,8 @@ class ShelveComputeManagerTestCase(test_compute.BaseTestCase): test.MatchType(objects.ImageMeta), injected_files=[], admin_password=None, allocations={}, network_info=[], block_device_info='fake_bdm') - self.mock_get_allocs.assert_called_once_with(self.context, - instance.uuid) + self.mock_get_allocations.assert_called_once_with(self.context, + instance.uuid) mock_get_power_state.assert_called_once_with(self.context, instance) self.assertNotIn('shelved_at', instance.system_metadata) @@ -470,8 +470,8 @@ class ShelveComputeManagerTestCase(test_compute.BaseTestCase): test.MatchType(objects.ImageMeta), injected_files=[], admin_password=None, allocations={}, network_info=[], block_device_info='fake_bdm') - self.mock_get_allocs.assert_called_once_with(self.context, - instance.uuid) + self.mock_get_allocations.assert_called_once_with(self.context, + instance.uuid) mock_get_power_state.assert_called_once_with(self.context, instance) @mock.patch('nova.objects.BlockDeviceMappingList.get_by_instance_uuid') |