1818from neutron_lib .plugins import constants as plugin_constants
1919from neutron_lib .plugins import directory
2020
21+ from neutron .api import wsgi
2122from neutron .common .ovn import utils as ovn_utils
2223from neutron .common import utils as n_utils
2324from neutron .services .bgp import constants as bgp_constants
@@ -34,7 +35,8 @@ def setUp(self, **kwargs):
3435 super ().setUp (** kwargs )
3536 self .chassis = self .add_fake_chassis ('ovs-host1' )
3637 self .l3_plugin = directory .get_plugin (plugin_constants .L3 )
37- self .l3_plugin ._post_fork_initialize (mock .ANY , mock .ANY , mock .ANY )
38+ self .l3_plugin ._post_fork_initialize (
39+ mock .ANY , mock .ANY , wsgi .WorkerService )
3840 self .ext_api = test_extensions .setup_extensions_middleware (
3941 test_l3 .L3TestExtensionManager ())
4042 kwargs = {'arg_list' : (external_net .EXTERNAL ,),
@@ -201,7 +203,8 @@ def setUp(self, **kwargs):
201203 super ().setUp (** kwargs )
202204 self .chassis = self .add_fake_chassis ('ovs-host1' )
203205 self .l3_plugin = directory .get_plugin (plugin_constants .L3 )
204- self .l3_plugin ._post_fork_initialize (mock .ANY , mock .ANY , mock .ANY )
206+ self .l3_plugin ._post_fork_initialize (
207+ mock .ANY , mock .ANY , wsgi .WorkerService )
205208 self .ext_api = test_extensions .setup_extensions_middleware (
206209 test_l3 .L3TestExtensionManager ())
207210 kwargs = {'arg_list' : (external_net .EXTERNAL ,),
0 commit comments