def tearDown(self): AsyncHTTPTestCase.tearDown(self) ControlHandler.is_worker = self.is_worker
def tearDown(self): AsyncHTTPTestCase.tearDown(self) ControlHandler.is_worker = self.is_worker
def setUp(self): AsyncHTTPTestCase.setUp(self) self.is_worker = ControlHandler.is_worker ControlHandler.is_worker = lambda *args: True
def setUp(self): AsyncHTTPTestCase.setUp(self) self.is_worker = ControlHandler.is_worker ControlHandler.is_worker = lambda *args: True