(self)
| 1223 | self.assertEqual(client.data_to_send(), [b"\x8a\x80\x00\x44\x88\xcc"]) |
| 1224 | |
| 1225 | def test_server_sends_pong(self): |
| 1226 | server = Protocol(SERVER) |
| 1227 | server.send_pong(b"") |
| 1228 | self.assertEqual(server.data_to_send(), [b"\x8a\x00"]) |
| 1229 | |
| 1230 | def test_client_receives_pong(self): |
| 1231 | client = Protocol(CLIENT) |
nothing calls this directly
no test coverage detected