async def METHOD_NAME(
    aiohttp_server: _TestServerFactory, make_client: _MakeClient
) -> AsyncIterator[Client]:
    async def handle_get_subroles(request: web.Request) -> web.StreamResponse:
        username = request.match_info["username"]
        data = {
            "subroles": [f"{username}/sub1", f"{username}/sub2", f"{username}/sub3"]
        }
        return web.json_response(data)
    app = web.Application()
    app.router.add_get(
        "/api/v1/users/{username}/subroles",
        handle_get_subroles,
    )
    srv = await aiohttp_server(app)
    client = make_client(srv.make_url("/api/v1"))
    yield client
    await client.close()