hass-core/tests
Yuxin Wang ba2e80f741
Add more tests for APC UPS Daemon integration ()
* 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
..
auth Add typing to tests with single hass argument (2) () 2023-02-08 08:51:43 +01:00
backports Add return type to tests without arguments () 2023-02-07 14:20:06 +01:00
components Add more tests for APC UPS Daemon integration () 2023-02-20 09:51:01 +01:00
fixtures Add device HmIP-DRDI3 () 2022-12-18 12:44:49 -07:00
hassfest Disable profiler.memory service with python 3.11 () 2023-02-15 16:20:47 +01:00
helpers Enable Ruff B007 () 2023-02-17 21:08:18 -05:00
pylint Enable Ruff PT006 () 2023-02-15 14:09:50 +01:00
resources
scripts Add more type hints to conftest.py () 2023-02-11 13:48:53 +01:00
test_util Adjust json imports in tests () 2023-02-17 19:13:48 +01:00
testing_config Move sensor rounding to frontend () 2023-02-04 14:54:36 -05:00
util Enable Ruff B007 () 2023-02-17 21:08:18 -05:00
__init__.py
asyncio_legacy.py Add python 3.11 to the CI () 2023-02-16 12:38:32 -05:00
bandit.yaml
common.py Use entity_sources to determine integration in recorder platforms () 2023-02-18 07:21:41 -06:00
conftest.py Drop sqlachemy_utils workaround () 2023-02-18 09:18:23 -06:00
ignore_uncaught_exceptions.py
ruff.toml Enable Ruff PT006 () 2023-02-15 14:09:50 +01:00
syrupy.py Fix snapshots testing repr 0 value IntFlags () 2023-02-18 07:38:19 -06:00
test_bootstrap.py Keep task references while running () 2023-02-13 23:16:59 -05:00
test_config.py Enable Ruff PT006 () 2023-02-15 14:09:50 +01:00
test_config_entries.py Add background tasks to config entries () 2023-02-17 13:50:05 -05:00
test_core.py Change core return code processing () 2023-02-17 20:56:02 -05:00
test_data_entry_flow.py Dismiss discoveries when the underlying device disappears () 2023-02-17 15:51:19 -05:00
test_exceptions.py Enable Ruff PT006 () 2023-02-15 14:09:50 +01:00
test_loader.py Refactor zeroconf task handling () 2023-02-15 21:44:11 -05:00
test_main.py Allow only specific packages to be skipped during startup dependency installation () 2022-11-30 08:38:52 +01:00
test_requirements.py Add typing to tests with single hass argument (2) () 2023-02-08 08:51:43 +01:00
test_runner.py Enable Ruff RUF006; Hard reference to asyncio.create_task return value () 2023-02-18 23:05:44 -05:00
test_setup.py Add typing to tests with single hass argument (2) () 2023-02-08 08:51:43 +01:00
test_test_fixtures.py Add typing to tests with single hass argument (2) () 2023-02-08 08:51:43 +01:00
typing.py Add MockHAClientWebSocket test helper () 2023-02-10 10:23:26 -05:00