core/tests/components/apcupsd
Yuxin Wang ba2e80f741
Add more tests for APC UPS Daemon integration (#85967)
* Add tests for init.

* Add more test init.

* Fix test init side_effect.

* Add test sensor.

* Fix sensor test file name.

* Fix sensor test.

* Add binary sensor test.

* Fix comments and styling.

* Remove apcupsd from omissions in coveragerc.

* Add a test case for binary sensor when STATFLAG is not available.

* Complete type annotations for test files.

* Revert "Remove apcupsd from omissions in coveragerc."

This reverts commit 66b05fcb8829619a771a650a3d70174089e15d91.
2023-02-20 09:51:01 +01:00
..
__init__.py Add more tests for APC UPS Daemon integration (#85967) 2023-02-20 09:51:01 +01:00
test_binary_sensor.py Add more tests for APC UPS Daemon integration (#85967) 2023-02-20 09:51:01 +01:00
test_config_flow.py Enable Ruff PT006 (#88165) 2023-02-15 14:09:50 +01:00
test_init.py Add more tests for APC UPS Daemon integration (#85967) 2023-02-20 09:51:01 +01:00
test_sensor.py Add more tests for APC UPS Daemon integration (#85967) 2023-02-20 09:51:01 +01:00