core/tests
Stefan Agner be255613de
Add additional tests for Matter update entity (#122575)
* Add additional tests for Matter update entity

Extend test coverage for Matter update entity. This includes tests for
error handling and state store/restore.

* Improve test descriptions

* Add restore test only (using mock_restore_cache_with_extra_data)

* Fix test_update_state_save_and_restore test

* Use homeassistant constants

* Use update component constants

* Use freezer to skip time for device update check

We check device updates every 12h currently. Use the freezer to skip
time.

Still add a test which uses the service call to make sure this works
too.
2024-08-20 12:10:25 +02:00
..
auth
components Add additional tests for Matter update entity (#122575) 2024-08-20 12:10:25 +02:00
fixtures
hassfest
helpers Add async friendly helper for validating config schemas (#123800) 2024-08-17 11:01:49 +02:00
non_packaged_scripts
pylint
resources
script
scripts Add missing hass type in tests/scripts (#124042) 2024-08-16 13:21:39 +02:00
snapshots Add created_at/modified_at to config entries (#122456) 2024-07-29 22:08:46 +02:00
test_util Add missing hass type in tests/test_util (#124043) 2024-08-16 13:43:43 +02:00
testing_config
util Use BaseEventLoop._thread_id instead of a custom attribute (#124054) 2024-08-17 10:59:39 +02:00
__init__.py
common.py Remove test helper get_test_home_assistant (#124177) 2024-08-19 10:23:25 +02:00
conftest.py Update sensor recorder tests to async (#124061) 2024-08-18 13:20:58 -05:00
ignore_uncaught_exceptions.py
patch_recorder.py Fail tests if recorder creates nested sessions (#122579) 2024-07-25 21:18:55 +02:00
patch_time.py
ruff.toml
syrupy.py Add created_at/modified_at to config entries (#122456) 2024-07-29 22:08:46 +02:00
test_backports.py
test_block_async_io.py Add additional blocking operations to loop protection (#124017) 2024-08-16 09:03:24 -05:00
test_bootstrap.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_circular_imports.py
test_config.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_config_entries.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_const.py
test_core.py Replace pylint broad-exception-raised rule with ruff (#123021) 2024-08-02 12:24:03 +02:00
test_data_entry_flow.py
test_exceptions.py
test_loader.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_main.py
test_requirements.py Remove recorder from websocket_api after dependencies (#122422) 2024-07-22 16:50:05 -05:00
test_runner.py Replace pylint broad-exception-raised rule with ruff (#123021) 2024-08-02 12:24:03 +02:00
test_setup.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_test_fixtures.py
typing.py