Trivial: Add import to base unit test to register CONF opts
It's possible while running tests via testtools (python -m testtools.run) that the file being imported in won't have registered all CONF opts leading to oslo.conf errors getting thrown. This fixes that. Change-Id: Ie21c89943bf4494ad9e0fd05e25f78139ad18377
This commit is contained in:
parent
5c411dd05b
commit
9a5198fef5
@ -22,6 +22,7 @@ from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import testtools
|
||||
|
||||
from deckhand.conf import config # noqa: Calls register_opts(CONF)
|
||||
from deckhand.db.sqlalchemy import api as db_api
|
||||
from deckhand.tests.unit import fixtures as dh_fixtures
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user