(self)
| 129 | self.loop.run_until_complete(go()) |
| 130 | |
| 131 | def test_send_str_nonstring(self): |
| 132 | req = self.make_request('GET', '/') |
| 133 | ws = WebSocketResponse() |
| 134 | self.loop.run_until_complete(ws.prepare(req)) |
| 135 | with self.assertRaises(TypeError): |
| 136 | ws.send_str(b'bytes') |
| 137 | |
| 138 | def test_send_bytes_nonbytes(self): |
| 139 | req = self.make_request('GET', '/') |
nothing calls this directly
no test coverage detected