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

Method connect

python/python3/tornado/test/httpserver_test.py:1169–1173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1167
1168 @gen.coroutine
1169 def connect(self):
1170 stream = IOStream(socket.socket())
1171 yield stream.connect(("127.0.0.1", self.get_http_port()))
1172 self.streams.append(stream)
1173 raise gen.Return(stream)
1174
1175 @gen_test
1176 def test_unused_connection(self):

Callers 2

test_idle_after_useMethod · 0.95

Calls 4

connectMethod · 0.95
IOStreamClass · 0.90
get_http_portMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected