def METHOD_NAME(
    self,
    db,
    hosting_provider_with_sample_user: ac_models.Hostingprovider,
    green_ip: gc_models.GreencheckIp,
    client,
):
    """
    Test that we fetch the last 30 days of stats, and make it avaiable for graphing
    """
    self._setup_30_days_of_stats_for_chart(
        hosting_provider_with_sample_user, green_ip
    )
    stat_path = urls.reverse("greencheck-stats-index")
    res = client.get(stat_path)
    assert res.status_code == 200
    stats = res.context_data["stats"]
    assert "headlines" in stats.keys()
    assert "chart_data" in stats.keys()
    chart_data = stats["chart_data"]
    # we want to see the green, grey, for our charts
    assert len(chart_data["green"]) == 30
    assert len(chart_data["grey"]) == 30