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

Method test_pipelined_requests

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

Source from the content-addressed store, hash-verified

1044
1045 @gen_test
1046 def test_pipelined_requests(self):
1047 yield self.connect()
1048 self.stream.write(
1049 b"GET / HTTP/1.1\r\nHost:127.0.0.1\r\n\r\nGET / HTTP/1.1\r\nHost:127.0.0.1\r\n\r\n"
1050 )
1051 yield self.read_response()
1052 yield self.read_response()
1053 self.close()
1054
1055 @gen_test
1056 def test_pipelined_cancel(self):

Callers

nothing calls this directly

Calls 4

connectMethod · 0.95
read_responseMethod · 0.95
closeMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected