Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tornadoweb/tornado
/ start_server
Method
start_server
tornado/test/tcpclient_test.py:65–67 ·
view source on GitHub ↗
(self, family)
Source
from the content-addressed store, hash-verified
63
self.client = TCPClient()
64
65
def
start_server(self, family):
66
self.server = TestTCPServer(family)
67
return
self.server.port
68
69
def
stop_server(self):
70
if
self.server is not None:
Callers
1
do_test_connect
Method · 0.95
Calls
1
TestTCPServer
Class · 0.85
Tested by
no test coverage detected