(self)
| 349 | RuntimeError, self.loop.run_until_complete, ws.receive()) |
| 350 | |
| 351 | def test_concurrent_receive(self): |
| 352 | req = self.make_request('GET', '/') |
| 353 | ws = WebSocketResponse() |
| 354 | self.loop.run_until_complete(ws.prepare(req)) |
| 355 | ws._waiting = True |
| 356 | |
| 357 | self.assertRaises( |
| 358 | RuntimeError, self.loop.run_until_complete, ws.receive()) |
| 359 | |
| 360 | def test_close_exc(self): |
| 361 | req = self.make_request('GET', '/') |
nothing calls this directly
no test coverage detected