python-openstackclient/openstackclient/tests/unit/compute/v2
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
..
__init__.py move unit tests to new "unit" test module 2016-09-08 15:19:50 -07:00
fakes.py tests: Use consistent shortcut to fake image client 2023-08-28 13:52:23 +01:00
test_agent.py tests: Remove unnecessary nesting of compute resources 2023-05-16 16:21:44 +01:00
test_aggregate.py tests: Use SDK objects where expected 2023-05-16 16:55:08 +00:00
test_console.py tests: Remove unnecessary nesting of compute resources 2023-05-16 16:21:44 +01:00
test_flavor.py tests: Remove unnecessary nesting of compute resources 2023-05-16 16:21:44 +01:00
test_host.py tests: Remove unnecessary nesting of compute resources 2023-05-16 16:21:44 +01:00
test_hypervisor.py Blacken openstackclient.compute 2023-05-10 10:51:30 +01:00
test_hypervisor_stats.py Blacken openstackclient.compute 2023-05-10 10:51:30 +01:00
test_keypair.py tests: Use SDK objects where expected 2023-05-16 16:55:08 +00:00
test_server.py tests: Use consistent shortcut to fake image client 2023-08-28 13:52:23 +01:00
test_server_backup.py tests: Use consistent shortcut to fake image client 2023-08-28 13:52:23 +01:00
test_server_event.py tests: Remove unnecessary nesting of compute resources 2023-05-16 16:21:44 +01:00
test_server_group.py Blacken openstackclient.compute 2023-05-10 10:51:30 +01:00
test_server_image.py tests: Use consistent shortcut to fake image client 2023-08-28 13:52:23 +01:00
test_server_migration.py tests: Remove unnecessary nesting of compute resources 2023-05-16 16:21:44 +01:00
test_server_volume.py tests: Remove unnecessary nesting of compute resources 2023-05-16 16:21:44 +01:00
test_service.py tests: Remove unnecessary nesting of compute resources 2023-05-16 16:21:44 +01:00
test_usage.py tests: Remove unnecessary nesting of compute resources 2023-05-16 16:21:44 +01:00