Merge "Fix NoSuchOptError in lbaas agent test"

This commit is contained in:
Jenkins 2014-01-01 23:03:11 +00:00 committed by Gerrit Code Review
commit c7dba0cb3e

View File

@ -35,6 +35,7 @@ class TestLbaasService(base.BaseTestCase):
) as mock_start:
mgr = mock.Mock()
cfg.CONF.periodic_interval = mock.Mock(return_value=10)
agent_service = agent.LbaasAgentService('host', 'topic', mgr)
agent_service.start()