hass-core/tests
Markus Jacobsen 890c6e97fd
Add Bang & Olufsen websocket testing (#123075)
* Add websocket.py testing
Convert media_player testing dispatch events to the proper websocket events

* Fix WebSocket testing by using callbacks

* Add typing

* Add caplog checking
Check dispatch events directly
Check event bus directly
Avoid using internals

* Fix event and / dispatch callbacks not necessarily being checked

* Remove unnecessary caplog log level handling
2024-08-22 16:31:15 +02:00
..
auth Update import locations in tests (#122216) 2024-07-20 11:16:04 +02:00
components Add Bang & Olufsen websocket testing (#123075) 2024-08-22 16:31:15 +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 Add capsys to enforce-type-hints plugin (#120653) 2024-06-27 19:54:44 +02:00
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 Add MockToggleEntity type hints in tests (#120075) 2024-06-21 12:32:03 +02:00
util Wrap OSError in loader.load_yaml (#124406) 2024-08-22 09:06:41 -05: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 Improve tests/patch_time.py (#122017) 2024-07-16 14:22:22 +02:00
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 Fix missing type[..] annotation in tests (#122217) 2024-07-20 11:11:16 +02:00
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 Section support for data entry flows (#118369) 2024-06-25 11:02:00 +02:00
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