MCPcopy Create free account
hub / github.com/EasyIME/PIME / setUp

Method setUp

python/python3/tornado/test/httpserver_test.py:469–474  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

467 return Application([("/echo", EchoHandler)])
468
469 def setUp(self):
470 super().setUp()
471 self.stream = IOStream(socket.socket())
472 self.io_loop.run_sync(
473 lambda: self.stream.connect(("127.0.0.1", self.get_http_port()))
474 )
475
476 def tearDown(self):
477 self.stream.close()

Callers

nothing calls this directly

Calls 5

IOStreamClass · 0.90
run_syncMethod · 0.80
get_http_portMethod · 0.80
setUpMethod · 0.45
connectMethod · 0.45

Tested by

no test coverage detected