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.

Closes-Bug: #1322440

Change-Id: I5b87a75317e2ba670adaa59b251bfa860920fd61
(cherry picked from commit f6dfc3a901)
This commit is contained in:
Joe Gordon 2014-04-02 11:25:27 -07:00 committed by Jakub Libosvar
parent fa41abfda9
commit 66eeda2a76

View File

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