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

Method test_empty_request

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

Source from the content-addressed store, hash-verified

430 super().tearDown()
431
432 def test_empty_request(self):
433 self.stream.close()
434 self.io_loop.add_timeout(datetime.timedelta(seconds=0.001), self.stop)
435 self.wait()
436
437 def test_malformed_first_line_response(self):
438 with ExpectLog(gen_log, ".*Malformed HTTP request line", level=logging.INFO):

Callers

nothing calls this directly

Calls 3

add_timeoutMethod · 0.80
closeMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected