diff options
| author | Stephen Finucane <sfinucan@redhat.com> | 2022-11-30 13:30:40 +0000 |
|---|---|---|
| committer | Stephen Finucane <sfinucan@redhat.com> | 2022-12-01 10:04:02 +0000 |
| commit | 799a073b683cec442da649160816321e1fa49418 (patch) | |
| tree | 98c8c95dba446c02d49e429481af753e2635b180 /openstackclient/tests/unit | |
| parent | a538104a942d28642df6f04baa8e333172dd403d (diff) | |
| download | python-openstackclient-799a073b683cec442da649160816321e1fa49418.tar.gz | |
image: Fail if we can't find an image
Whenever we attempt to find a provided image, we generally want to fail
fast if they can't be found. This wasn't happening. Fix it.
Change-Id: Ibea38354a78381cb87d287f03726ecd03ecd246d
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/tests/unit')
| -rw-r--r-- | openstackclient/tests/unit/image/v2/test_image.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openstackclient/tests/unit/image/v2/test_image.py b/openstackclient/tests/unit/image/v2/test_image.py index 8dea7f05..ba12d105 100644 --- a/openstackclient/tests/unit/image/v2/test_image.py +++ b/openstackclient/tests/unit/image/v2/test_image.py @@ -905,7 +905,10 @@ class TestImageList(TestImage): marker=self._image.id, ) - self.client.find_image.assert_called_with('graven') + self.client.find_image.assert_called_with( + 'graven', + ignore_missing=False, + ) def test_image_list_name_option(self): arglist = [ |
