def test_holiday_title_for_new_year(): bot = HolidayBot() assert "New Year's Day" == bot.holiday_title(date(2016, 1, 1))
def test_holiday_title_for_day_after_new_year(): bot = HolidayBot() assert bot.holiday_title(date(2016, 1, 2)) is None