summaryrefslogtreecommitdiff
path: root/ironic/tests/base.py
diff options
context:
space:
mode:
authorRamamani Yeleswarapu <ramamani.yeleswarapu@intel.com>2016-04-15 15:51:42 -0700
committerRamamani Yeleswarapu <ramamani.yeleswarapu@intel.com>2016-07-15 14:05:09 -0700
commit6f0aea966b49ec4c1470d18e91fb2bf95cfb5963 (patch)
tree68ab50cab7dc9423c9b9c94135d45c455401c16d /ironic/tests/base.py
parent47985ea077e59c23adb05056e84fd38b8ffa5534 (diff)
downloadironic-6f0aea966b49ec4c1470d18e91fb2bf95cfb5963.tar.gz
Centralize config options - [DEFAULT]
Nova style refactor of config options in Ironic. Change-Id: I6baebf1bbc829238441ddd1399f6487fad33a15e Partial-Bug: #1561100
Diffstat (limited to 'ironic/tests/base.py')
-rw-r--r--ironic/tests/base.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/ironic/tests/base.py b/ironic/tests/base.py
index 8a205ba63..e46ec07d2 100644
--- a/ironic/tests/base.py
+++ b/ironic/tests/base.py
@@ -29,7 +29,6 @@ import tempfile
import eventlet
eventlet.monkey_patch(os=False)
import fixtures
-from oslo_config import cfg
from oslo_config import fixture as config_fixture
from oslo_log import log as logging
from oslo_utils import uuidutils
@@ -38,13 +37,11 @@ import testtools
from ironic.common import config as ironic_config
from ironic.common import context as ironic_context
from ironic.common import hash_ring
+from ironic.conf import CONF
from ironic.objects import base as objects_base
from ironic.tests.unit import policy_fixture
-CONF = cfg.CONF
-CONF.import_opt('host', 'ironic.common.service')
-CONF.import_opt('cleaning_network_uuid', 'ironic.common.neutron', 'neutron')
logging.register_options(CONF)
logging.setup(CONF, 'ironic')