def server_endpoint(server):
    """Return the HTTP endpoint for the given test server.

    Args:
        server (aiohttp.test_utils.TestServer): aiohttp test server instance

    Returns:
        str: HTTP endpoint of the server

    """
    return f"{server.scheme}://{server.host}:{server.port}"