nova/nova/tests/functional/db
Diana Clarke 1078ebd6c1 Fix database poison warnings, part 25
The following warning appears in the unit test logs a number of times.

    "UserWarning: This test uses methods that set internal oslo_db
state, but it does not claim to use the database. This will conflict
with the setup of tests that do use the database and cause failures
later."

This patch fixes the only 2 warnings in the functional tests.

Note that this warning is only emitted once per unit test worker, so new
offenders will show up in the logs each time you fix a test until they
are all gone.

Change-Id: I1bce7ef4222f1188c003d84ce42cd4755e9d8c24
Related-Bug: #1568414
2016-11-10 13:57:13 +00:00
..
api Make build_requests.instance MediumText 2016-10-26 06:27:07 -04:00
__init__.py Add second migrate_repo for cells v2 database migrations 2015-03-03 15:41:40 -05:00
test_aggregate.py Fix import statement order 2016-10-31 21:42:42 +09:00
test_aggregate_model.py Add aggregates tables to the API db. 2016-06-01 12:00:56 -05:00
test_archive.py Archive instance-related rows when the parent instance is deleted 2016-09-27 12:08:21 -07:00
test_build_request.py Update BuildRequest if instance currently being scheduled 2016-09-12 22:31:50 +02:00
test_cell_mapping.py Fix database poison warnings, part 25 2016-11-10 13:57:13 +00:00
test_compute_node.py Make create_inventory() handle name change 2016-06-08 09:39:28 -07:00
test_connection_switch.py Add message queue switching through RequestContext 2016-05-16 15:34:35 +00:00
test_flavor.py Make flavor-manage api call destroy with Flavor object 2016-05-19 16:05:19 +02:00
test_flavor_model.py Creates flavor* tables in API database 2016-02-24 16:12:07 -06:00
test_host_mapping.py Fix host mapping saving 2016-07-15 08:49:45 +03:00
test_instance_group.py Add online migration to move instance groups to API database 2016-08-22 03:50:24 -07:00
test_instance_group_model.py Add instance groups tables to the API database 2016-06-23 00:28:50 +00:00
test_instance_mapping.py Fix database poison warnings, part 25 2016-11-10 13:57:13 +00:00
test_keypair.py Cleanup some redundant USES_DB_SELF usage 2016-09-26 15:47:16 -04:00
test_quota_model.py Add quota related tables to the api database. 2016-10-12 07:40:00 +00:00
test_request_spec.py Merge "Remove unused conf" 2016-10-06 20:57:28 +00:00
test_resource_class_cache.py placement: add ResourceClass and ResourceClassList 2016-11-03 11:48:53 -04:00
test_resource_provider.py placement: add ResourceClass and ResourceClassList 2016-11-03 11:48:53 -04:00