(handler, host_addr, port)
| 385 | host = AppHostServer(FakeToolManager()) |
| 386 | |
| 387 | async def always_fail(handler, host_addr, port): |
| 388 | raise OSError("port in use") |
| 389 | |
| 390 | with patch("asyncio.start_server", side_effect=always_fail): |
| 391 | with pytest.raises(RuntimeError, match="Could not find available port"): |
nothing calls this directly
no outgoing calls
no test coverage detected