def METHOD_NAME(
    self, hosting_provider_with_sample_user, green_ip
):
    # for each date, add one green and two grey checks for every day
    now = timezone.now()
    thirty_days_back = now - relativedelta(days=30)
    yesterday = now - relativedelta(days=1)
    last_30_days = range_of_dates(thirty_days_back, yesterday)
    for given_datetime in last_30_days:
        gc_factories.GreencheckFactory.create(
            date=given_datetime + relativedelta(hours=2),
            hostingprovider=hosting_provider_with_sample_user.id,
            greencheck_ip=green_ip.id,
            ip=green_ip.ip_end,
            green=gc_choices.BoolChoice.YES,
        )
        gc_factories.GreencheckFactory.create_batch(
            size=2, date=given_datetime + relativedelta(hours=2),
        )
    gc_models.DailyStat.create_counts_for_date_range(last_30_days, "total_count")