Add 'none' to L3AgentExtensionAPI due to API changes

L3AgentExtensionAPI now takes the new parameter 'router_factory'.
This API change breaks the test cases, so pass None to initialize
the class to aovid the failure.

Depends-On: https://review.openstack.org/#/c/620349/
Change-Id: Iaf3a8071eb6eec8c0c7240d1a0a5d057f7b152d2
This commit is contained in:
Yang Youseok 2019-04-16 10:57:12 +09:00 committed by Adit Sarfaty
parent 679bfb772d
commit 578b12f35e

View File

@ -87,7 +87,7 @@ class FWLoggingTestBase(framework.L3AgentTestFramework):
}
def _initialize_iptables_log(self):
self.agent_api = l3_ext_api.L3AgentExtensionAPI({})
self.agent_api = l3_ext_api.L3AgentExtensionAPI({}, None)
log_driver = log.IptablesLoggingDriver(self.agent_api)
log_driver.initialize(self.resource_rpc)
log_driver.conf = self.conf