def _start_plugin(self, workers=1):
     with mock.patch('neutron_lib.plugins.directory.get_plugin') as gp:
         gp.return_value = self.plugin
         plugin_workers_launcher = service.start_plugins_workers()
         plugin_workers_launcher.wait()
Exemple #2
0
 def _start_plugin(self, workers=1):
     with mock.patch('neutron.manager.NeutronManager.get_plugin') as gp:
         gp.return_value = self.plugin
         plugin_workers_launcher = service.start_plugins_workers()
         plugin_workers_launcher.wait()
Exemple #3
0
 def _start_plugin(self, workers=1):
     with mock.patch('neutron.manager.NeutronManager.get_plugin') as gp:
         gp.return_value = self.plugin
         plugin_workers_launcher = service.start_plugins_workers()
         plugin_workers_launcher.wait()
Exemple #4
0
 def _start_plugin(self, workers=1):
     with mock.patch('neutron_lib.plugins.directory.get_plugin') as gp:
         gp.return_value = self.plugin
         plugin_workers_launcher = service.start_plugins_workers()
         plugin_workers_launcher.wait()