diff options
author | Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com> | 2016-04-15 15:51:42 -0700 |
---|---|---|
committer | Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com> | 2016-07-15 14:05:09 -0700 |
commit | 6f0aea966b49ec4c1470d18e91fb2bf95cfb5963 (patch) | |
tree | 68ab50cab7dc9423c9b9c94135d45c455401c16d /ironic/tests/base.py | |
parent | 47985ea077e59c23adb05056e84fd38b8ffa5534 (diff) | |
download | ironic-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.py | 5 |
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') |