(self)
| 242 | ) |
| 243 | |
| 244 | def test_server_sends_text(self): |
| 245 | server = Protocol(SERVER) |
| 246 | server.send_text("😀".encode()) |
| 247 | self.assertEqual(server.data_to_send(), [b"\x81\x04\xf0\x9f\x98\x80"]) |
| 248 | |
| 249 | def test_client_receives_text(self): |
| 250 | client = Protocol(CLIENT) |
nothing calls this directly
no test coverage detected