MCPcopy Index your code
hub / github.com/python/cpython / test_legacy_server_connect

Method test_legacy_server_connect

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

Source from the content-addressed store, hash-verified

4366 self.assertIs(stats['compression'], None)
4367
4368 def test_legacy_server_connect(self):
4369 client_context, server_context, hostname = testing_context()
4370 client_context.options |= ssl.OP_LEGACY_SERVER_CONNECT
4371 server_params_test(client_context, server_context,
4372 chatty=True, connectionchatty=True,
4373 sni_name=hostname)
4374
4375 def test_no_legacy_server_connect(self):
4376 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