Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KJhellico committed Sep 18, 2023
1 parent 1e382bd commit d439068
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/countries/test_spain.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ def test_fix_days_in_2023(self):
"2023-12-25",
)

def test_islamic(self):
name = "Eid al-Adha"
ce_holidays = ES(subdiv="CE", years=2009)
ml_holidays = ES(subdiv="ML", years=2009)
self.assertNoHolidayName(name, ce_holidays)
self.assertNoHolidayName(name, ml_holidays)

def _test_variable_days(self, year: int, subdiv_holidays: dict):
observed_prov_holidays = {subdiv: ES(subdiv=subdiv) for subdiv in ES.subdivisions}
for hol_date, hol_provs in subdiv_holidays.items():
Expand Down

0 comments on commit d439068

Please sign in to comment.