(self)
| 231 | self.loop.run_until_complete(ws.prepare(req)) |
| 232 | |
| 233 | def test_start_without_upgrade(self): |
| 234 | req = self.make_request('GET', '/', |
| 235 | headers=CIMultiDict({})) |
| 236 | ws = WebSocketResponse() |
| 237 | with self.assertRaises(HTTPBadRequest): |
| 238 | self.loop.run_until_complete(ws.prepare(req)) |
| 239 | |
| 240 | def test_wait_closed_before_start(self): |
| 241 |
nothing calls this directly
no test coverage detected