MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_legacy_server_connect

Method test_legacy_server_connect

Lib/test/test_ssl.py:4084–4089  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4082 self.assertIs(stats['compression'], None)
4083
4084 def test_legacy_server_connect(self):
4085 client_context, server_context, hostname = testing_context()
4086 client_context.options |= ssl.OP_LEGACY_SERVER_CONNECT
4087 server_params_test(client_context, server_context,
4088 chatty=True, connectionchatty=True,
4089 sni_name=hostname)
4090
4091 def test_no_legacy_server_connect(self):
4092 client_context, server_context, hostname = testing_context()

Callers

nothing calls this directly

Calls 2

testing_contextFunction · 0.85
server_params_testFunction · 0.85

Tested by

no test coverage detected