diff --git a/app/tests/integrations/google_workspace/test_google_calendar.py b/app/tests/integrations/google_workspace/test_google_calendar.py index 6c0242ff..ccbe5883 100644 --- a/app/tests/integrations/google_workspace/test_google_calendar.py +++ b/app/tests/integrations/google_workspace/test_google_calendar.py @@ -493,7 +493,6 @@ def test_no_available_slots_within_search_limit( def test_get_federal_holidays(requests_mock): # set the timeout to 10s requests_mock.DEFAULT_TIMEOUT = 10 - # Mock the API response mocked_response = { "holidays": [ @@ -518,7 +517,6 @@ def test_get_federal_holidays(requests_mock): def test_get_federal_holidays_with_different_year(requests_mock): # set the timeout to 10s requests_mock.DEFAULT_TIMEOUT = 10 - # Mock the API response for a different year requests_mock.get( "https://canada-holidays.ca/api/v1/holidays?federal=true&year=2025", @@ -540,9 +538,8 @@ def test_get_federal_holidays_with_different_year(requests_mock): # Test that an empty list is returned when there are no holidays def test_api_returns_empty_list(requests_mock): - # set the timeout to 10s + # set the timeout to 10s requests_mock.DEFAULT_TIMEOUT = 10 - # Mock no holidays requests_mock.get( "https://canada-holidays.ca/api/v1/holidays?federal=true&year=2024", @@ -569,7 +566,7 @@ def test_leap_year_handling(requests_mock): "observedDate": "2024-02-29" } # Assuming this is a special leap year holiday ] - } + }, ) # Execute