(self)
| 258 | self.loop.run_until_complete(go()) |
| 259 | |
| 260 | def test_write_eof_idempotent(self): |
| 261 | req = self.make_request('GET', '/') |
| 262 | ws = WebSocketResponse() |
| 263 | self.loop.run_until_complete(ws.prepare(req)) |
| 264 | self.loop.run_until_complete(ws.close()) |
| 265 | |
| 266 | @asyncio.coroutine |
| 267 | def go(): |
| 268 | yield from ws.write_eof() |
| 269 | yield from ws.write_eof() |
| 270 | yield from ws.write_eof() |
| 271 | |
| 272 | self.loop.run_until_complete(go()) |
| 273 | |
| 274 | def test_receive_exc_in_reader(self): |
| 275 | req = self.make_request('GET', '/') |
nothing calls this directly
no test coverage detected