Exemplo n.º 1
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()
Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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()