From cce692dc528290dda19ef70b9bb6e2dab5018abd Mon Sep 17 00:00:00 2001 From: Aaron Rosen Date: Wed, 24 Jul 2013 16:35:24 -0700 Subject: [PATCH] Fix test fail in neutron.tests.unit.test_security_groups_rpc 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 --- neutron/tests/unit/test_security_groups_rpc.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/neutron/tests/unit/test_security_groups_rpc.py b/neutron/tests/unit/test_security_groups_rpc.py index 68f278014..0a24b7ad3 100644 --- a/neutron/tests/unit/test_security_groups_rpc.py +++ b/neutron/tests/unit/test_security_groups_rpc.py @@ -1110,11 +1110,6 @@ class TestSecurityGroupAgentWithIptables(base.BaseTestCase): 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, -- 2.45.2