Add lagging hdate for sensors that should lag to update (#20655)

* Add lagging hdate for sensors that should lag to update

* Fix indentation

* Lint fix
This commit is contained in:
arigilder authored and Fabian Affolter committed 2019-02-11 23:34:48 +01:00
1 parent b5b03f5b7f
commit 0d98f9783f
2 files changed
+32 -14

No files matched your search

@@ -158,6 +158,14 @@ class TestJewishCalenderSensor():
'weekly_portion': 'Ki Tavo',
'hebrew_weekly_portion': 'כי תבוא'},
havdalah_offset=50),
make_nyc_test_params(
dt(2018, 9, 1, 20, 0),
{'upcoming_shabbat_candle_lighting': dt(2018, 8, 31, 19, 15),
'upcoming_shabbat_havdalah': dt(2018, 9, 1, 20, 14),
'upcoming_candle_lighting': dt(2018, 8, 31, 19, 15),
'upcoming_havdalah': dt(2018, 9, 1, 20, 14),
'weekly_portion': 'Ki Tavo',
'hebrew_weekly_portion': 'כי תבוא'}),
make_nyc_test_params(
dt(2018, 9, 1, 20, 21),
{'upcoming_shabbat_candle_lighting': dt(2018, 9, 7, 19, 4),
@@ -317,6 +325,7 @@ class TestJewishCalenderSensor():
shabbat_test_ids = [
"currently_first_shabbat",
"currently_first_shabbat_with_havdalah_offset",
"currently_first_shabbat_bein_hashmashot_lagging_date",
"after_first_shabbat",
"friday_upcoming_shabbat",
"upcoming_rosh_hashana",