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