python-openstackclient/openstackclient
Stephen Finucane 28b1267921 tests: Use consistent shortcut to fake image client
This removes the need for a number of base test case subclasses. We use
'image_client' rather than 'client' to avoid conflicts with clients for
other services.

Note that this highlights a minor bug with the 'volume create' command
when using the v1 block storage API and creating a volume from an image.
This is corrected, though it can be assumed that no one is actually
using this code path to say it hasn't been reported in the few years
since the bug was introduced in Ussuri.

Change-Id: I571be27f68bb7669dcb883f3b4799731b4a35479
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-08-28 13:52:23 +01:00
..
api Blacken openstackclient.api 2023-05-10 10:51:30 +01:00
common Remove project purge image commands 2023-08-28 13:52:23 +01:00
compute Merge "Dropping the use of 'addFixedIp' server action" 2023-05-18 11:52:56 +00:00
identity Allow multiple `--remove-tag` in `project set` 2023-06-08 18:22:48 +10:00
image Adding image stores info command 2023-08-10 07:34:19 +00:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network Add the flavor-id option to router create 2023-08-17 10:03:28 -05:00
object Blacken openstackclient.object 2023-05-10 10:51:30 +01:00
tests tests: Use consistent shortcut to fake image client 2023-08-28 13:52:23 +01:00
volume tests: Use consistent shortcut to fake image client 2023-08-28 13:52:23 +01:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Blacken everything else 2023-05-10 10:51:30 +01:00