From 2553b4a22175d9a00a36fd9d20f3c646fd3fab1f Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Fri, 4 Jan 2013 17:32:36 +0000 Subject: Move global path opts in nova.paths Move the global path config options (i.e. state_path, pybasedir and bindir) into a new nova.paths module. A new module may seem like overkill but some utility methods associated with these options follow in a later commit. Moving them to nova.paths means they are no longer globally defined and it's more obvious which modules require these options. Change-Id: I381d23f1bbe36dc6967a38a65062b0983e1661aa --- nova/tests/conf_fixture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/tests') diff --git a/nova/tests/conf_fixture.py b/nova/tests/conf_fixture.py index 4ec1bf8fb..1a6f80331 100644 --- a/nova/tests/conf_fixture.py +++ b/nova/tests/conf_fixture.py @@ -24,7 +24,7 @@ from nova.openstack.common import cfg from nova.tests.utils import cleanup_dns_managers CONF = cfg.CONF -CONF.import_opt('state_path', 'nova.config') +CONF.import_opt('state_path', 'nova.paths') CONF.import_opt('scheduler_driver', 'nova.scheduler.manager') CONF.import_opt('fake_network', 'nova.network.manager') CONF.import_opt('network_size', 'nova.network.manager') -- cgit