(self)
| 197 | ws.send_bytes(b'bytes') |
| 198 | |
| 199 | def test_ping_closed(self): |
| 200 | req = self.make_request('GET', '/') |
| 201 | ws = WebSocketResponse() |
| 202 | self.loop.run_until_complete(ws.prepare(req)) |
| 203 | self.loop.run_until_complete(ws.close()) |
| 204 | with self.assertRaises(RuntimeError): |
| 205 | ws.ping() |
| 206 | |
| 207 | def test_pong_closed(self): |
| 208 | req = self.make_request('GET', '/') |
nothing calls this directly
no test coverage detected