If running:
tox -epy27 neutron.tests.unit.test_security_groups_rpc
Tests fail with: DuplicateOptError: duplicate option: root_helper
as this is already registered and can be removed.
Fixes bug:
1204700
Change-Id: I8b591357988c5546ae55b6531cf1786b7eb84e20
def setUp(self):
super(TestSecurityGroupAgentWithIptables, self).setUp()
self.mox = mox.Mox()
- agent_opts = [
- cfg.StrOpt('root_helper', default='sudo'),
- ]
-
- cfg.CONF.register_opts(agent_opts, "AGENT")
cfg.CONF.set_override(
'firewall_driver',
self.FIREWALL_DRIVER,