Merge "pass static to argv to quantum-debug config parser"

This commit is contained in:
Jenkins 2012-11-25 20:02:03 +00:00 committed by Gerrit Code Review
commit 7b6bc0d3c6

View File

@ -40,7 +40,7 @@ class TestDebugCommands(unittest.TestCase):
def setUp(self):
cfg.CONF.register_opts(interface.OPTS)
cfg.CONF.register_opts(QuantumDebugAgent.OPTS)
cfg.CONF(args=sys.argv, project='quantum')
cfg.CONF(args=['quantum-debug'], project='quantum')
cfg.CONF.set_override('use_namespaces', True)
cfg.CONF.root_helper = 'sudo'