(self)
| 621 | self.assertOneFrameSent(True, OP_TEXT, "café".encode()) |
| 622 | |
| 623 | def test_send_binary(self): |
| 624 | self.loop.run_until_complete(self.protocol.send(b"tea")) |
| 625 | self.assertOneFrameSent(True, OP_BINARY, b"tea") |
| 626 | |
| 627 | def test_send_binary_from_bytearray(self): |
| 628 | self.loop.run_until_complete(self.protocol.send(bytearray(b"tea"))) |
nothing calls this directly
no test coverage detected