async def METHOD_NAME(
    aiohttp_server: _TestServerFactory, api_factory: _ApiFactory
) -> None:
    called = False
    async def handler(request: web.Request) -> web.Response:
        nonlocal called
        called = True
        raise web.HTTPOk()
    app = web.Application()
    app.router.add_get("/test", handler)
    srv = await aiohttp_server(app)
    async with api_factory(srv.make_url("/")) as api:
        relative_url = URL("test")
        with pytest.raises(AssertionError):
            async with api.request(method="GET", url=relative_url, auth="auth") as resp:
                resp
    assert not called