(url: str)
| 332 | await self.send({"type": "websocket.send", "text": _text}) |
| 333 | |
| 334 | async def send_text(url: str): |
| 335 | async with websockets.client.connect(url) as websocket: |
| 336 | await websocket.send("abc") |
| 337 | return await websocket.recv() |
| 338 | |
| 339 | config = Config(app=App, ws=ws_protocol_cls, http=http_protocol_cls, lifespan="off", port=unused_tcp_port) |
| 340 | async with run_server(config): |
no test coverage detected