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

Method test_match

tornado/test/iostream_test.py:1222–1228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1220
1221 @gen_test
1222 async def test_match(self):
1223 stream = SSLIOStream(socket.socket(), ssl_options=self.client_ssl_ctx)
1224 await stream.connect(
1225 ("127.0.0.1", self.port),
1226 server_hostname="foo.example.com",
1227 )
1228 stream.close()
1229
1230 @gen_test
1231 async def test_no_match(self):

Callers

nothing calls this directly

Calls 3

connectMethod · 0.95
SSLIOStreamClass · 0.90
closeMethod · 0.45

Tested by

no test coverage detected