nova/nova/tests
Diana Clarke 2f670bf40c Fix database poison warnings, part 16
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 all the warnings from:

    nova.tests.unit.api.openstack.compute.test_shelve.py

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: I39cca6587f99cfe6f980b6d8fe857618fac6bb5a
Related-Bug: #1568414
2016-09-26 21:22:47 -04:00
..
functional Merge "Remove unused code" 2016-09-23 17:06:34 +00:00
live_migration/hooks Use tempest tox with regex first 2016-09-14 09:32:53 -04:00
unit Fix database poison warnings, part 16 2016-09-26 21:22:47 -04:00
__init__.py
fixtures.py Make test logging setup fixture disable future setup 2016-09-22 07:44:24 -04:00
uuidsentinel.py Remove redundant str typecasting 2016-09-23 12:53:34 +05:30