def setUp(self): BaseZMQTestCase.setUp(self) self.client = self.connect_client() # start every test with clean engine namespaces: self.client.clear(block=True) self.base_engine_count = len(self.client.ids) self.engines = []
def setUp(self): BaseZMQTestCase.setUp(self) self.client = self.connect_client() # start every test with clean engine namespaces: self.client.clear(block=True) self.base_engine_count=len(self.client.ids) self.engines=[]
def setUp(self): try: import tornado except ImportError: raise SkipTest("zmq.web requires tornado") BaseZMQTestCase.setUp(self)
def setUp(self): BaseZMQTestCase.setUp(self) if hasattr(signal, 'SIGALRM'): # use sigalarm for test timeout def _sigalarm(sig, frame): raise TimeoutError( f"test did not finish in {self.test_timeout} seconds") signal.signal(signal.SIGALRM, _sigalarm) signal.alarm(self.test_timeout) add_engines(self.engine_count, total=True) self.client = self.connect_client() # start every test with clean engine namespaces: self.client.clear(block=True) self.base_engine_count = len(self.client.ids) self.engines = []
def setUp(self): BaseZMQTestCase.setUp(self) self.session = ss.Session()
def setUp(self): BaseZMQTestCase.setUp(self) self.session = ss.StreamSession()
def setUp(self): BaseZMQTestCase.setUp(self) self.client = self.connect_client() self.base_engine_count = len(self.client.ids) self.engines = []
def setUp(self): BaseZMQTestCase.setUp(self) self.client = self.connect_client() self.base_engine_count=len(self.client.ids) self.engines=[]