(self)
| 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) |
| 251 | client.receive_data(b"\x81\x04\xf0\x9f\x98\x80") |
| 252 | self.assertFrameReceived( |
| 253 | client, |
| 254 | Frame(OP_TEXT, "😀".encode()), |
| 255 | ) |
| 256 | |
| 257 | def test_server_receives_text(self): |
| 258 | server = Protocol(SERVER) |
nothing calls this directly
no test coverage detected