Merge "Allow test_l3_agent unit test to run individually"

This commit is contained in:
Jenkins 2014-05-07 05:48:55 +00:00 committed by Gerrit Code Review
commit 4821834afb

View File

@ -1200,6 +1200,8 @@ class TestL3AgentEventHandler(base.BaseTestCase):
def setUp(self):
super(TestL3AgentEventHandler, self).setUp()
cfg.CONF.register_opts(l3_agent.L3NATAgent.OPTS)
agent_config.register_interface_driver_opts_helper(cfg.CONF)
agent_config.register_use_namespaces_opts_helper(cfg.CONF)
cfg.CONF.set_override(
'interface_driver', 'neutron.agent.linux.interface.NullDriver'
)