From 8722cd6d99939a6fea2c7a72cd392b7427537c37 Mon Sep 17 00:00:00 2001 From: ~Jhellico Date: Mon, 18 Sep 2023 19:08:10 +0300 Subject: [PATCH] Fix tests --- tests/countries/test_spain.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/countries/test_spain.py b/tests/countries/test_spain.py index 1f868ea47..db08507eb 100644 --- a/tests/countries/test_spain.py +++ b/tests/countries/test_spain.py @@ -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():