def setUp(self): self.tracer = MockTracer(AsyncioScopeManager()) self.queue = asyncio.Queue() self.loop = asyncio.get_event_loop() self.server = Server(tracer=self.tracer, queue=self.queue)
def setUp(self): self.tracer = MockTracer() self.executor = ThreadPoolExecutor(max_workers=3)
def setUp(self): self.tracer = MockTracer(GeventScopeManager()) self.client = Client(RequestHandler(self.tracer))
def setUp(self): self.tracer = MockTracer(GeventScopeManager())
def setUp(self): self.tracer = MockTracer(GeventScopeManager()) self.queue = gevent.queue.Queue() self.server = Server(tracer=self.tracer, queue=self.queue)
def setUp(self): self.tracer = MockTracer() self.queue = queue.Queue() self.server = Server(tracer=self.tracer, queue=self.queue) self.server.start()
def setUp(self): self.tracer = MockTracer(AsyncioScopeManager()) self.loop = asyncio.get_event_loop() self.client = Client(RequestHandler(self.tracer), self.loop)
def setUp(self): self.tracer = MockTracer(AsyncioScopeManager()) self.loop = asyncio.get_event_loop()
def setUp(self): self.tracer = MockTracer()
def setUp(self): self.tracer = MockTracer() self.executor = ThreadPoolExecutor(max_workers=3) self.client = Client(RequestHandler(self.tracer), self.executor)
def setUp(self): self.tracer = MockTracer(TornadoScopeManager()) self.loop = ioloop.IOLoop.current()
def setUp(self): self.tracer = MockTracer(TornadoScopeManager()) self.loop = ioloop.IOLoop.current() self.client = Client(RequestHandler(self.tracer), self.loop)
def setUp(self): self.tracer = MockTracer(TornadoScopeManager()) self.queue = queues.Queue() self.loop = ioloop.IOLoop.current() self.server = Server(tracer=self.tracer, queue=self.queue)