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

Method test_finish_while_closed

tornado/test/httpserver_test.py:1074–1080  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1072
1073 @gen_test
1074 def test_finish_while_closed(self):
1075 yield self.connect()
1076 self.stream.write(b"GET /finish_on_close HTTP/1.1\r\nHost:127.0.0.1\r\n\r\n")
1077 yield self.read_headers()
1078 self.close()
1079 # Let the hanging coroutine clean up after itself
1080 self.cleanup_event.set()
1081
1082 @gen_test
1083 def test_keepalive_chunked(self):

Callers

nothing calls this directly

Calls 5

connectMethod · 0.95
read_headersMethod · 0.95
closeMethod · 0.95
writeMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected