def METHOD_NAME(client):
    response = client.get("/metric.json?id=speedIndex")
    assert (
        response.status_code == 200
        and '"description":"How quickly the contents of a page'
        in response.get_data(as_text=True)
    )