hass-core/tests/components/netatmo
Tobias Sauerwein 4ee4d674d8
Add tests for Netatmo camera (#46380)
* Add test for Netatmo camera

* Improve docstrings

* Remove light tests

* Remove freezegun from tests

* Update camera tests

* Remove freezegun dependency

* Update tests/components/netatmo/test_camera.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update tests/components/netatmo/test_camera.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Deduplication of the fake webhook payload

* Mock pyatmo instead of checking the logs

* Clean up

* Further deduplication

* Assert function arguments

* Rename mocked functions

* Update .coveragerc

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-03-19 12:19:57 +01:00
..
__init__.py Added missing file (#31189) 2020-01-27 12:52:58 +01:00
common.py Refactor Netatmo test (#48097) 2021-03-19 09:57:11 +01:00
conftest.py Add tests for Netatmo camera (#46380) 2021-03-19 12:19:57 +01:00
test_api.py Add tests for Netatmo oauth2 api (#46375) 2021-03-18 14:55:39 +01:00
test_camera.py Add tests for Netatmo camera (#46380) 2021-03-19 12:19:57 +01:00
test_climate.py Refactor Netatmo test (#48097) 2021-03-19 09:57:11 +01:00
test_config_flow.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_device_trigger.py Add Netatmo device trigger (#45387) 2021-02-24 19:20:40 +01:00
test_light.py Add tests for Netatmo light (#46381) 2021-03-19 12:19:27 +01:00
test_media_source.py Extract Netatmo test data (#40094) 2020-09-15 21:49:08 +02:00