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

Method client_start_tls

tornado/test/iostream_test.py:1034–1038  ·  view source on GitHub ↗
(self, ssl_options=None, server_hostname=None)

Source from the content-addressed store, hash-verified

1032 self.assertEqual(line, recv_line)
1033
1034 def client_start_tls(self, ssl_options=None, server_hostname=None):
1035 assert self.client_stream is not None
1036 client_stream = self.client_stream
1037 self.client_stream = None
1038 return client_stream.start_tls(False, ssl_options, server_hostname)
1039
1040 def server_start_tls(self, ssl_options=None):
1041 assert self.server_stream is not None

Callers 3

test_start_tls_smtpMethod · 0.95
test_handshake_failMethod · 0.95
test_check_hostnameMethod · 0.95

Calls 1

start_tlsMethod · 0.80

Tested by

no test coverage detected