Skip to content

Commit e6b6f8f

Browse files
committed
Fix formatting checks for tests
1 parent f353033 commit e6b6f8f

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

tests/test_argentina_api_provider.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,11 @@ def test_get_holidays_parsing_exceptions(self, mock_response):
100100
# Good entry
101101
{"fecha": "2025-01-01", "nombre": "Good", "tipo": "inamovible"},
102102
# ValueError: Invalid date format (strptime fails)
103-
{"fecha": "invalid-01-01", "nombre": "Bad Date Format", "tipo": "inamovible"},
103+
{
104+
"fecha": "invalid-01-01",
105+
"nombre": "Bad Date Format",
106+
"tipo": "inamovible",
107+
},
104108
# AttributeError: Entry is not a dict (no .get method)
105109
"invalid_string_entry",
106110
]

tests/test_services.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88

99
from app.config.config import Config
1010
from app.models.models import Holiday
11-
from app.services.holiday_providers.argentina_api_provider import (
12-
ArgentinaApiProvider,
13-
)
11+
from app.services.holiday_providers.argentina_api_provider import ArgentinaApiProvider
1412
from app.services.holiday_providers.argentina_website_provider import (
1513
ArgentinaWebsiteProvider,
1614
)

0 commit comments

Comments
 (0)