()
| 216 | |
| 217 | |
| 218 | async def test_nonstarted_send_json_bytes() -> None: |
| 219 | ws = web.WebSocketResponse() |
| 220 | with pytest.raises(RuntimeError): |
| 221 | await ws.send_json_bytes( |
| 222 | {"type": "json"}, dumps=lambda x: json.dumps(x).encode("utf-8") |
| 223 | ) |
| 224 | |
| 225 | |
| 226 | async def test_send_json_bytes_nonjson(make_request: _RequestMaker) -> None: |
nothing calls this directly
no test coverage detected