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:
Felipe Monteiro 2018-03-16 02:45:06 +00:00
parent 5c411dd05b
commit 9a5198fef5
1 changed files with 1 additions and 0 deletions

View File

@ -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