Handshake succeeds without subprotocols.
(self)
| 562 | self.assertEqual(client.extensions, [Rsv2Extension(), OpExtension()]) |
| 563 | |
| 564 | def test_no_subprotocols(self): |
| 565 | """Handshake succeeds without subprotocols.""" |
| 566 | client = ClientProtocol(URI) |
| 567 | with alter_and_receive_response(client): |
| 568 | pass |
| 569 | |
| 570 | self.assertHandshakeSuccess(client) |
| 571 | self.assertIsNone(client.subprotocol) |
| 572 | |
| 573 | def test_no_subprotocol_requested(self): |
| 574 | """Client doesn't offer a subprotocol, but the server enables one.""" |
nothing calls this directly
no test coverage detected