Ejemplo n.º 1
0
 def setUp(self):
     super(EngineTestCase, self).setUp()
     self._main_thread = thread.get_ident()
     self._main_process = multiprocessing.current_process().name
Ejemplo n.º 2
0
 def check_the_same_thread():
     return thread.get_ident() == self._main_thread
Ejemplo n.º 3
0
 def check_the_same_thread():
     return thread.get_ident() == self._main_thread
Ejemplo n.º 4
0
 def setUp(self):
     super(EngineTestCase, self).setUp()
     self._main_thread = thread.get_ident()
     self._main_process = multiprocessing.current_process().name