MCPcopy Create free account
hub / github.com/EasyIME/PIME / setUp

Method setUp

python/python3/tornado/testing.py:444–452  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

442 """
443
444 def setUp(self) -> None:
445 super().setUp()
446 sock, port = bind_unused_port()
447 self.__port = port
448
449 self.http_client = self.get_http_client()
450 self._app = self.get_app()
451 self.http_server = self.get_http_server()
452 self.http_server.add_sockets([sock])
453
454 def get_http_client(self) -> AsyncHTTPClient:
455 return AsyncHTTPClient()

Callers

nothing calls this directly

Calls 6

get_http_clientMethod · 0.95
get_appMethod · 0.95
get_http_serverMethod · 0.95
bind_unused_portFunction · 0.85
add_socketsMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected