(self)
| 61 | ws.send_str('string') |
| 62 | |
| 63 | def test_nonstarted_send_bytes(self): |
| 64 | ws = WebSocketResponse() |
| 65 | with self.assertRaises(RuntimeError): |
| 66 | ws.send_bytes(b'bytes') |
| 67 | |
| 68 | def test_nonstarted_close(self): |
| 69 | ws = WebSocketResponse() |
nothing calls this directly
no test coverage detected