Fix for breaking UTs when creating RouterInfo

Refactoring in commit 01a7ba19cf6661b1aef7d08fb748bb2470caf28f
changed the signature of the RouterInfo init. Fixing the FWaaS
code to adapt to that change.

Change-Id: I35a833280da6739ea22ede618e9c58dd38ffc4eb
Closes-bug: #1428907
This commit is contained in:
Sumit Naiksatam 2015-03-06 02:51:14 -08:00
parent ecc74406b5
commit 2143cd3787
1 changed files with 3 additions and 2 deletions

View File

@ -70,12 +70,13 @@ class TestFwaasL3AgentRpcCallback(base.BaseTestCase):
self.api.fwaas_driver = test_firewall_agent_api.NoopFwaasDriver()
self.adminContext = context.get_admin_context()
self.router_id = str(uuid.uuid4())
self.agent_conf = mock.Mock()
self.agent_conf.use_namespaces = True
self.ri_kwargs = {'router': {'id': self.router_id,
'tenant_id': str(uuid.uuid4())},
'agent_conf': mock.ANY,
'agent_conf': self.agent_conf,
'interface_driver': mock.ANY,
'use_ipv6': mock.ANY,
'ns_name': "ns-" + self.router_id,
}
def test_fw_config_match(self):