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

Method tearDown

tornado/testing.py:471–479  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

469 return f"{self.get_protocol()}://127.0.0.1:{self.get_http_port()}{path}"
470
471 def tearDown(self) -> None:
472 self.http_server.stop()
473 self.io_loop.run_sync(
474 self.http_server.close_all_connections, timeout=get_async_test_timeout()
475 )
476 self.http_client.close()
477 del self.http_server
478 del self._app
479 super().tearDown()
480
481
482class AsyncHTTPSTestCase(AsyncHTTPTestCase):

Callers

nothing calls this directly

Calls 5

get_async_test_timeoutFunction · 0.85
run_syncMethod · 0.80
stopMethod · 0.45
closeMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected