Server receives connection from client and the handshake succeeds.
(self)
| 34 | |
| 35 | class ServerTests(EvalShellMixin, unittest.TestCase): |
| 36 | def test_connection(self): |
| 37 | """Server receives connection from client and the handshake succeeds.""" |
| 38 | with run_server() as server: |
| 39 | with connect(get_uri(server)) as client: |
| 40 | self.assertEval(client, "ws.protocol.state.name", "OPEN") |
| 41 | |
| 42 | def test_connection_handler_returns(self): |
| 43 | """Connection handler returns.""" |
nothing calls this directly
no test coverage detected