Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setUp(self):
self.holidays = holidays.AT()
def test_all_holidays_present(self):
at_2015 = holidays.AT(years=[2015])
all_holidays = ["Neujahr",
"Heilige Drei Könige",
"Ostermontag",
"Staatsfeiertag",
"Christi Himmelfahrt",
"Pfingstmontag",
"Fronleichnam",
"Maria Himmelfahrt",
"Nationalfeiertag",
"Allerheiligen",
"Maria Empfängnis",
"Christtag",
"Stefanitag"]
for holiday in all_holidays:
self.assertTrue(holiday in at_2015.values())