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 Add script to compare alexa locales with upstream (#114247) 2024-04-18 13:41:34 +02:00
hassfest Enable Ruff PT012 (#113957) 2024-06-08 17:59:08 +02:00
helpers Add async friendly helper for validating config schemas (#123800) 2024-08-17 11:01:49 +02:00
non_packaged_scripts Add script to compare alexa locales with upstream (#114247) 2024-04-18 13:41:34 +02:00
pylint Add capsys to enforce-type-hints plugin (#120653) 2024-06-27 19:54:44 +02:00
resources
script Generate requirements per supported architecture (#115708) 2024-04-22 19:23:08 +02:00
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 async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
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 Remove async_late_forward_entry_setups and instead implicitly hold the lock (#119088) 2024-06-12 21:06:11 -04:00
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 Replace pylint protected-access with Ruff SLF001 (#115735) 2024-05-06 20:33:26 +02:00
syrupy.py Add created_at/modified_at to config entries (#122456) 2024-07-29 22:08:46 +02:00
test_backports.py Fix import pylint warning in core tests (#119359) 2024-06-11 15:04:00 +02:00
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 Remove isal from after_dependencies in http (#119000) 2024-06-07 09:21:53 +02:00
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 Fix invalid tuple annotations (#116035) 2024-04-23 16:02:16 +02:00
test_loader.py Add missing hass type in tests/*.py (#124048) 2024-08-18 15:42:41 +02:00
test_main.py Enable ruff RUF005 and fix occurrences (#113589) 2024-03-16 07:37:20 -10:00
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 Move fixtures to decorators in core tests (#119675) 2024-06-14 13:32:42 +02:00
typing.py Use PEP 695 type alias in tests (#117797) 2024-05-20 19:03:04 +02:00