diff options
author | Mark McLoughlin <markmc@redhat.com> | 2012-10-15 01:40:25 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2012-11-04 21:37:39 +0000 |
commit | efede80046e0504dc8a68ab5447f97b05c02dd7a (patch) | |
tree | 91d38f5b23a25efc321b6df8e038444e07347bad /nova/test.py | |
parent | dd086638b8c6e43f275fc45b3fc7df2de90bb2c2 (diff) | |
download | nova-efede80046e0504dc8a68ab5447f97b05c02dd7a.tar.gz nova-efede80046e0504dc8a68ab5447f97b05c02dd7a.tar.xz nova-efede80046e0504dc8a68ab5447f97b05c02dd7a.zip |
Move parse_args to nova.config
The flags module will eventually be removed and this is a first step
towards that.
Change-Id: I729b08900e53e2ae6db10633dcff3be59720fa6f
Diffstat (limited to 'nova/test.py')
-rw-r--r-- | nova/test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/test.py b/nova/test.py index 911ad1390..cd82d74e2 100644 --- a/nova/test.py +++ b/nova/test.py @@ -32,6 +32,7 @@ import nose.plugins.skip import stubout import testtools +from nova import config from nova import flags from nova.openstack.common import cfg from nova.openstack.common import log as logging @@ -68,7 +69,7 @@ class TestCase(testtools.TestCase): super(TestCase, self).setUp() fake_flags.set_defaults(FLAGS) - flags.parse_args([], default_config_files=[]) + config.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 |