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

Method test_no_legacy_server_connect

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

Source from the content-addressed store, hash-verified

4089 sni_name=hostname)
4090
4091 def test_no_legacy_server_connect(self):
4092 client_context, server_context, hostname = testing_context()
4093 client_context.options &= ~ssl.OP_LEGACY_SERVER_CONNECT
4094 server_params_test(client_context, server_context,
4095 chatty=True, connectionchatty=True,
4096 sni_name=hostname)
4097
4098 def test_dh_params(self):
4099 # Check we can get a connection with ephemeral finite-field

Callers

nothing calls this directly

Calls 2

testing_contextFunction · 0.85
server_params_testFunction · 0.85

Tested by

no test coverage detected