diff options
| author | Mark McLoughlin <markmc@redhat.com> | 2012-05-29 08:57:58 +0100 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2012-05-30 21:24:53 +0100 |
| commit | 00786bc554a2dfacb3c6f02fbb7e9c98f35d4262 (patch) | |
| tree | 93cc4a0cd0af8a9db30eb5fa02365f0f01207627 /nova/test.py | |
| parent | d7e613dabc2dbc28d9405a5b450dc2b4dfa9d47b (diff) | |
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
Diffstat (limited to 'nova/test.py')
| -rw-r--r-- | nova/test.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
