Handshake succeeds.
(self)
| 349 | self.assertEqual(exc_str, msg) |
| 350 | |
| 351 | def test_basic(self): |
| 352 | """Handshake succeeds.""" |
| 353 | server = ServerProtocol() |
| 354 | request = make_request() |
| 355 | response = server.accept(request) |
| 356 | server.send_response(response) |
| 357 | |
| 358 | self.assertHandshakeSuccess(server) |
| 359 | |
| 360 | def test_missing_connection(self): |
| 361 | """Handshake fails when the Connection header is missing.""" |
nothing calls this directly
no test coverage detected