(self)
| 548 | ) |
| 549 | |
| 550 | def test_server_sends_binary(self): |
| 551 | server = Protocol(SERVER) |
| 552 | server.send_binary(b"\x01\x02\xfe\xff") |
| 553 | self.assertEqual(server.data_to_send(), [b"\x82\x04\x01\x02\xfe\xff"]) |
| 554 | |
| 555 | def test_client_receives_binary(self): |
| 556 | client = Protocol(CLIENT) |
nothing calls this directly
no test coverage detected