def tearDown(self): self._stop_server() # Remove any remaining spans self.tracer.pop() # Unpatch grpc unpatch() super(GrpcTestCase, self).tearDown()
def patch_grpc(): patch() try: yield finally: unpatch()
def tearDown(self): unpatch() self._server.stop(5) super(GrpcTestCase, self).tearDown()
def tearDown(self): unpatch() self._server.stop(5)