diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-06-22 14:37:44 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-06-22 14:37:44 +0000 |
| commit | 775b1acccd9c2ea78b4b46a2dac9e812b3b1eff6 (patch) | |
| tree | 492601fd24ef2e22a8c30a7acd9735f6cb1dd6d2 /openstackclient/tests/image/v1/test_image.py | |
| parent | de909e4afc73ab88af6925314869d11564033842 (diff) | |
| parent | 9c62af8a42ebfeb60d88f5ad0af7c1c2fd562853 (diff) | |
| download | python-openstackclient-775b1acccd9c2ea78b4b46a2dac9e812b3b1eff6.tar.gz | |
Merge "Make set/unset commands in compute/image/common return normally when nothing specified"
Diffstat (limited to 'openstackclient/tests/image/v1/test_image.py')
| -rw-r--r-- | openstackclient/tests/image/v1/test_image.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/tests/image/v1/test_image.py b/openstackclient/tests/image/v1/test_image.py index 99c0b0ee..14aa331f 100644 --- a/openstackclient/tests/image/v1/test_image.py +++ b/openstackclient/tests/image/v1/test_image.py @@ -475,8 +475,8 @@ class TestImageSet(TestImage): result = self.cmd.take_action(parsed_args) - # Verify update() was not called, if it was show the args - self.assertEqual(self.images_mock.update.call_args_list, []) + self.images_mock.update.assert_called_with(image_fakes.image_id, + **{}) self.assertIsNone(result) def test_image_set_options(self): |
