Fixed flake errors

This commit is contained in:
alexjanousekGSA
2025-02-24 12:35:25 -05:00
parent 6c8b3dbb63
commit aad562bb88
3 changed files with 4 additions and 12 deletions

View File

@@ -526,6 +526,7 @@ def dao_fetch_stats_for_service_from_days(service_id, start_date, end_date):
return total_notifications, data
def dao_fetch_stats_for_service_from_hours(service_id, start_date, end_date):
start_date = get_midnight_in_utc(start_date)
end_date = get_midnight_in_utc(end_date + timedelta(days=1))
@@ -588,7 +589,6 @@ def dao_fetch_stats_for_service_from_hours(service_id, start_date, end_date):
return total_notifications, data
def dao_fetch_stats_for_service_from_days_for_user(
service_id, start_date, end_date, user_id
):