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