nova/nova/tests/functional
melanie witt 382d64ea36 Centralize sqlite FK constraint enforcement
There's a TODO in the code to centralize foreign key constraint
enforcement for sqlite for unit and functional tests and we're missing
enforcement of FK constraints in a couple of test classes that should
have it.

This resolves the TODO and turns on FK constraint enforcement where it
is missing. Do this to enhance testing in preparation for a proposed
change to the database archiving logic later in this patch series.

Conflicts:
    nova/test.py

NOTE(melwitt): The conflicts are because of the following changes not
in Victoria:

  * Ib2c406327fef2fb4868d8050fc476a7d17706e23 (Remove six.moves)
  * Ide65686cf02463045f5c32771ca949802b19636f (Remove
    six.binary_type/integer_types/string_types)

Change-Id: Idcf026d020e63e4e6ece1db46e4cdc7b7742b76f
(cherry picked from commit 172024db71)
2021-04-06 22:41:20 +00: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 Centralize sqlite FK constraint enforcement 2021-04-06 22:41:20 +00:00
libvirt Update pci stat pools based on PCI device changes 2020-11-06 05:44:38 +00:00
notification_sample_tests functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
regressions Handle instance = None in _local_delete_cleanup 2021-02-23 20:12:47 +00: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_monkey_patch.py Test for disabling greendns 2020-09-22 10:56:42 -04:00
test_multiattach.py func: Add CinderFixture to _IntegratedTestBase 2020-08-03 20:41:18 +01:00
test_nova_manage.py Centralize sqlite FK constraint enforcement 2021-04-06 22:41:20 +00: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 Fallback to same-cell resize with qos ports 2021-01-11 16:20:03 +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 Warn when starting services with older than N-1 computes 2021-01-05 17:11:43 +00:00