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

Method setUp

python/python3/tornado/test/concurrent_test.py:104–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

102 client_class = None # type: typing.Callable
103
104 def setUp(self):
105 super().setUp() # type: ignore
106 self.server = CapServer()
107 sock, port = bind_unused_port()
108 self.server.add_sockets([sock])
109 self.client = self.client_class(port=port)
110
111 def tearDown(self):
112 self.server.stop()

Callers

nothing calls this directly

Calls 3

bind_unused_portFunction · 0.90
CapServerClass · 0.85
add_socketsMethod · 0.80

Tested by

no test coverage detected