def test_xmas_2016(): holidays = isholiday.getholidays(2016) assert (24, 12) in holidays
def test_some_holidays(year, month, day): holidays = isholiday.getholidays(year) assert (day, month) in holidays
def test_xmas(year): holidays = isholiday.getholidays(year) print('Rok je', year) assert (24, 12) in holidays
def test_no_holiday(): holidays = isholiday.getholidays(2016) assert (3, 9) not in holidays
def test_xmas(year): """Test whether there is Christmas""" holidays = isholiday.getholidays(year) assert (24, 12) in holidays
def test_xmas_2016(year): holidays = isholiday.getholidays(year) assert (28, 10) in holidays