nova/nova/tests/functional
Stephen Finucane cc45581a18 functional: Add and use 'GlanceFixture'
This rather beefy (but also quite simple) patch replaces the
'stub_out_image_service' call and associated cleanup in all functional
tests with a new 'GlanceFixture', based on the old 'FakeImageService'.
The use of a fixture means we don't have to worry about teardown and
allows us to stub Glance in the same manners as Cinder, Neutron,
Placement etc.

Unit test cleanup is handled in a later patch.

Change-Id: I6daea47988181dfa6dde3d9c42004c0ecf6ae87a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-09-16 11:31:23 +01:00
..
api Merge "func: Remove references to attachment_id when volume_id is used" 2020-09-11 12:45:32 +00:00
api_sample_tests functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
compute functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
db Merge "tests: Remove 'test_servers.ServersTestBase'" 2020-07-24 09:24:53 +00:00
libvirt functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
notification_sample_tests functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
regressions functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
wsgi functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
api_paste_fixture.py Remove future imports 2020-03-24 15:05:36 +00:00
api_samples_test_base.py tests: Define constants in '_IntegratedTestBase' 2020-07-16 17:58:36 +01:00
fixtures.py Remove future imports 2020-03-24 15:05:36 +00:00
integrated_helpers.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_aggregates.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_availability_zones.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_boot_from_volume.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_cold_migrate.py Use COMPUTE_SAME_HOST_COLD_MIGRATE trait during migrate 2020-01-29 09:44:47 +00:00
test_compute_mgr.py Remove future imports 2020-03-24 15:05:36 +00:00
test_conf_max_attach_disk_devices.py func: Add CinderFixture to _IntegratedTestBase 2020-08-03 20:41:18 +01:00
test_cross_az_attach.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_cross_cell_migrate.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_external_networks.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_flavor_extraspecs.py Follow-up for flavor-extra-spec-validators series 2020-04-08 14:21:13 +01:00
test_images.py tests: Remove 'test_servers.ServersTestBase' 2020-07-16 17:58:37 +01:00
test_instance_actions.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_json_filter.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_legacy_v2_compatible_wrapper.py functional: Move single-use function to its caller 2020-08-19 18:07:25 +01:00
test_list_servers_ip_filter.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_login.py
test_metadata.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_middleware.py tests: Define constants in '_IntegratedTestBase' 2020-07-16 17:58:36 +01:00
test_multiattach.py func: Add CinderFixture to _IntegratedTestBase 2020-08-03 20:41:18 +01:00
test_nova_manage.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_policy.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_report_client.py Stop using PlacementDirect 2020-03-05 07:36:37 -06:00
test_scheduler.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_server_external_events.py functional: Add unified '_build_server' helper function 2020-01-15 10:31:24 +00:00
test_server_faults.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_server_group.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_server_rescue.py api: Introduce microverion 2.87 allowing boot from volume rescue 2020-04-09 08:39:36 +01:00
test_servers.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
test_servers_provider_tree.py Merge "tests: Move single use constants to their callers" 2020-07-24 09:24:35 +00:00
test_service.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00