def test_multiple_instances_in_different_dummy_processes(self): """ Create different w3afCore instances, in different threads. https://github.com/andresriancho/w3af-module/issues/5 """ t = DummyProcess(target=start_w3af_core, args=(self._exception_handler, )) t.start() t.join() self.assertEqual(self._exceptions, [])
def test_multiple_instances_in_different_dummy_processes(self): """ Create different w3afCore instances, in different threads. https://github.com/andresriancho/w3af-module/issues/5 """ t = DummyProcess(target=start_w3af_core, args=(self._exception_handler,)) t.start() t.join() self.assertEqual(self._exceptions, [])
def outer(): t = DummyProcess(target=start_w3af_core, args=(self._exception_handler, )) t.start() t.join()
def outer(): t = DummyProcess(target=start_w3af_core, args=(self._exception_handler,)) t.start() t.join()