nova/nova/tests/unit/virt/ironic
Diana Clarke b85f235515 Fix database poison warnings, part 23
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 (12 new ones) from:

    nova.tests.unit.virt.ironic.test_driver.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: I2f11c85a3fd192d93f010b781af60b78ff6914b9
Related-Bug: #1568414
2016-10-28 09:31:13 -04:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_client_wrapper.py Support Identity v3 when connecting to Ironic 2016-08-18 14:24:35 -03:00
test_driver.py Fix database poison warnings, part 23 2016-10-28 09:31:13 -04:00
test_patcher.py Make ironic driver use flavor fields instead of legacy ones 2016-07-12 11:34:56 -07:00
utils.py Ironic: report node.resource_class 2016-08-04 15:33:05 -04:00