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
This commit is contained in:
Aaron Rosen 2013-07-24 16:35:24 -07:00
parent ba82733dd2
commit cce692dc52

View File

@ -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,