0a6ba144446d0ceee25de26366b4f6eb67516675,tests/components/binary_sensor/test_tod.py,TestBinarySensorTod,test_midnight_turnover_before_midnight_outside_period,#TestBinarySensorTod#,144
Before Change
def test_midnight_turnover_before_midnight_outside_period(self):
Test midnight turnover setting before midnight outside period.
test_time = datetime(
2019, 1, 10, 20, 30, 0, tzinfo=self.hass.config.time_zone)
config = {
"binary_sensor": [
{
"platform": "tod",
After Change
def test_midnight_turnover_before_midnight_outside_period(self):
Test midnight turnover setting before midnight outside period.
test_time = self.hass.config.time_zone.localize(
datetime(2019, 1, 10, 20, 30, 0)).astimezone(pytz.UTC)
config = {
"binary_sensor": [
{
"platform": "tod",
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 8
Instances
Project Name: home-assistant/home-assistant
Commit Name: 0a6ba144446d0ceee25de26366b4f6eb67516675
Time: 2019-03-11
Author: kstaniek@gmail.com
File Name: tests/components/binary_sensor/test_tod.py
Class Name: TestBinarySensorTod
Method Name: test_midnight_turnover_before_midnight_outside_period
Project Name: home-assistant/home-assistant
Commit Name: 1f3e4c5776d1d2b05b6f0934f1d7aa0b3bc729ef
Time: 2019-03-12
Author: kstaniek@gmail.com
File Name: tests/components/binary_sensor/test_tod.py
Class Name: TestBinarySensorTod
Method Name: test_offset_overnight
Project Name: home-assistant/home-assistant
Commit Name: 1f3e4c5776d1d2b05b6f0934f1d7aa0b3bc729ef
Time: 2019-03-12
Author: kstaniek@gmail.com
File Name: tests/components/binary_sensor/test_tod.py
Class Name: TestBinarySensorTod
Method Name: test_midnight_turnover_before_midnight_outside_period
Project Name: home-assistant/home-assistant
Commit Name: 0a6ba144446d0ceee25de26366b4f6eb67516675
Time: 2019-03-11
Author: kstaniek@gmail.com
File Name: tests/components/binary_sensor/test_tod.py
Class Name: TestBinarySensorTod
Method Name: test_offset_overnight
Project Name: home-assistant/home-assistant
Commit Name: 0a6ba144446d0ceee25de26366b4f6eb67516675
Time: 2019-03-11
Author: kstaniek@gmail.com
File Name: tests/components/binary_sensor/test_tod.py
Class Name: TestBinarySensorTod
Method Name: test_midnight_turnover_after_midnight_outside_period
Project Name: home-assistant/home-assistant
Commit Name: 0a6ba144446d0ceee25de26366b4f6eb67516675
Time: 2019-03-11
Author: kstaniek@gmail.com
File Name: tests/components/binary_sensor/test_tod.py
Class Name: TestBinarySensorTod
Method Name: test_midnight_turnover_after_midnight_inside_period
Project Name: home-assistant/home-assistant
Commit Name: 1f3e4c5776d1d2b05b6f0934f1d7aa0b3bc729ef
Time: 2019-03-12
Author: kstaniek@gmail.com
File Name: tests/components/binary_sensor/test_tod.py
Class Name: TestBinarySensorTod
Method Name: test_offset
Project Name: home-assistant/home-assistant
Commit Name: 1f3e4c5776d1d2b05b6f0934f1d7aa0b3bc729ef
Time: 2019-03-12
Author: kstaniek@gmail.com
File Name: tests/components/binary_sensor/test_tod.py
Class Name: TestBinarySensorTod
Method Name: test_midnight_turnover_after_midnight_inside_period