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

@@ -92,6 +92,7 @@ def test_generate_hourly_range_with_end_date():
assert result == expected, f"Expected {expected}, but got {result}"
def test_generate_hourly_range_with_hours():
start_date = datetime(2025, 2, 18, 12, 0)
result = list(generate_hourly_range(start_date, hours=3))
@@ -104,6 +105,7 @@ def test_generate_hourly_range_with_hours():
assert result == expected, f"Expected {expected}, but got {result}"
def test_generate_hourly_range_with_zero_hours():
start_date = datetime(2025, 2, 18, 12, 0)
result = list(generate_hourly_range(start_date, hours=0))