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)
Esempio n. 2
0
 def setUp(self):
     self.tracer = MockTracer()
     self.executor = ThreadPoolExecutor(max_workers=3)
Esempio n. 3
0
 def setUp(self):
     self.tracer = MockTracer(GeventScopeManager())
     self.client = Client(RequestHandler(self.tracer))
Esempio n. 4
0
 def setUp(self):
     self.tracer = MockTracer(GeventScopeManager())
Esempio n. 5
0
 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()
Esempio n. 7
0
 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()
Esempio n. 12
0
 def setUp(self):
     self.tracer = MockTracer(TornadoScopeManager())
     self.loop = ioloop.IOLoop.current()
     self.client = Client(RequestHandler(self.tracer), self.loop)
Esempio n. 13
0
 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)