core/tests/components/reolink
starkillerOG 0093276e93
Reolink add 100% coverage of binary_sensor platfrom (#123862)
* Implement 100% coverage of binary_sensor

* fix styling

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* use get().state instead of is_state

* Remove unneeded "is True"

* Remove unneeded "is True"

* reset the mock and use assert_not_called

* use freezer

* fix styling

* fix styling

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-08-16 12:46:51 +02:00
..
snapshots Reolink extend diagnostic data (#119745) 2024-06-16 14:02:10 +02:00
__init__.py
conftest.py Reolink add 100% coverage of binary_sensor platfrom (#123862) 2024-08-16 12:46:51 +02:00
test_binary_sensor.py Reolink add 100% coverage of binary_sensor platfrom (#123862) 2024-08-16 12:46:51 +02:00
test_config_flow.py Reolink add 100% coverage of binary_sensor platfrom (#123862) 2024-08-16 12:46:51 +02:00
test_diagnostics.py
test_host.py Reolink add 100% coverage of binary_sensor platfrom (#123862) 2024-08-16 12:46:51 +02:00
test_init.py Reolink add 100% coverage of binary_sensor platfrom (#123862) 2024-08-16 12:46:51 +02:00
test_media_source.py Reolink add 100% coverage of binary_sensor platfrom (#123862) 2024-08-16 12:46:51 +02:00
test_select.py Reolink add 100% coverage of binary_sensor platfrom (#123862) 2024-08-16 12:46:51 +02:00
test_switch.py Replace Reolink HDR switch by HDR select entity (#122373) 2024-07-23 13:28:33 +02:00