From f6dfc3a901ce7536a72e6159583051e9bcaf8d8f Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 2 Apr 2014 11:25:27 -0700 Subject: [PATCH] Explicitly import state_path opt in tests.base This wasn't explicitly needed in the unit tests because neutron.common.config was already loaded, but this broke for the functional tests (which are non-voting) so add a CONF.import_opt line so functional tests know where to find the definition for state_path. Change-Id: I5b87a75317e2ba670adaa59b251bfa860920fd61 --- neutron/tests/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neutron/tests/base.py b/neutron/tests/base.py index 9a0e89086..377085d1e 100644 --- a/neutron/tests/base.py +++ b/neutron/tests/base.py @@ -36,6 +36,7 @@ from neutron.tests import post_mortem_debug CONF = cfg.CONF +CONF.import_opt('state_path', 'neutron.common.config') TRUE_STRING = ['True', '1'] LOG_FORMAT = "%(asctime)s %(levelname)8s [%(name)s] %(message)s" -- 2.45.2