(self)
| 398 | self.loop.run_until_complete, ws.close()) |
| 399 | |
| 400 | def test_start_twice_idempotent(self): |
| 401 | req = self.make_request('GET', '/') |
| 402 | ws = WebSocketResponse() |
| 403 | with self.assertWarns(DeprecationWarning): |
| 404 | impl1 = ws.start(req) |
| 405 | impl2 = ws.start(req) |
| 406 | self.assertIs(impl1, impl2) |
| 407 | |
| 408 | def test_can_start_ok(self): |
| 409 | req = self.make_request('GET', '/', protocols=True) |
nothing calls this directly
no test coverage detected