From 00786bc554a2dfacb3c6f02fbb7e9c98f35d4262 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Tue, 29 May 2012 08:57:58 +0100 Subject: Use cfg's new global CONF object Implements blueprint cfg-global-object Replace nova.flags.FLAGS with openstack.common.cfg.CONF. In future, we can do a s/FLAGS/CONF/ across the codebase. Change-Id: Ib293873089a5399febd7a3b0410f66e9bef115f1 --- nova/test.py | 1 + 1 file changed, 1 insertion(+) (limited to 'nova/test.py') diff --git a/nova/test.py b/nova/test.py index 46ba5e49d..478eddded 100644 --- a/nova/test.py +++ b/nova/test.py @@ -128,6 +128,7 @@ class TestCase(unittest.TestCase): super(TestCase, self).setUp() fake_flags.set_defaults(FLAGS) + flags.parse_args([], default_config_files=[]) # NOTE(vish): We need a better method for creating fixtures for tests # now that we have some required db setup for the system -- cgit