(self)
| 4153 | sni_name=hostname) |
| 4154 | |
| 4155 | def test_selected_alpn_protocol(self): |
| 4156 | # selected_alpn_protocol() is None unless ALPN is used. |
| 4157 | client_context, server_context, hostname = testing_context() |
| 4158 | stats = server_params_test(client_context, server_context, |
| 4159 | chatty=True, connectionchatty=True, |
| 4160 | sni_name=hostname) |
| 4161 | self.assertIs(stats['client_alpn_protocol'], None) |
| 4162 | |
| 4163 | def test_selected_alpn_protocol_if_server_uses_alpn(self): |
| 4164 | # selected_alpn_protocol() is None unless ALPN is used by the client. |
nothing calls this directly
no test coverage detected