def test_has_delayed_candle_lighting_for_shabbos_followed_by_yom_tov(self):
     date = '2019-06-08'
     subject = JewishCalendar(parser.parse(date))
     self.assertTrue(subject.has_delayed_candle_lighting())
 def test_has_delayed_candle_lighting_for_yom_tov_erev_shabbos(self):
     date = '2019-04-26'
     subject = JewishCalendar(parser.parse(date))
     self.assertFalse(subject.has_delayed_candle_lighting())
 def test_has_delayed_candle_lighting_for_standard_erev_yom_tov(self):
     date = '2018-09-30'
     subject = JewishCalendar(parser.parse(date))
     self.assertFalse(subject.has_delayed_candle_lighting())
 def test_has_delayed_candle_lighting_for_standard_first_day_yom_tov(self):
     date = '2018-10-01'
     subject = JewishCalendar(parser.parse(date))
     self.assertTrue(subject.has_delayed_candle_lighting())
 def test_has_delayed_candle_lighting_for_non_candle_lighting_day(self):
     date = '2018-09-13'
     subject = JewishCalendar(parser.parse(date))
     self.assertFalse(subject.has_delayed_candle_lighting())