MCPcopy
hub / github.com/tornadoweb/tornado / test_sync_handler

Method test_sync_handler

tornado/test/circlerefs_test.py:162–167  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

160 socket.close()
161
162 def test_sync_handler(self):
163 class Handler(web.RequestHandler):
164 def get(self):
165 self.write("ok\n")
166
167 asyncio.run(self.run_handler(Handler))
168
169 def test_finish_exception_handler(self):
170 class Handler(web.RequestHandler):

Callers

nothing calls this directly

Calls 2

run_handlerMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected