pass static to argv to quantum-debug config parser
fixes bug 1079609 The quantum-debug tests were using the test runners sys.argv instead of creating a known value. This fix passes a fake argv to parse. Change-Id: Iaae7292057b839f64e172504a55034a0d9272918
This commit is contained in:
parent
be77fd3f47
commit
080394ae53
@ -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'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user