hass-core/homeassistant
J. Nick Koston d52ce03aa4
Ensure asyncio blocking checks are undone after tests run (#119542)
* Ensure asyncio blocking checks are undone after tests run

* no reason to ever enable twice

* we are patching objects, make it more generic

* make sure bootstrap unblocks as well

* move disable to tests only

* re-protect

* Update tests/test_block_async_io.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Revert "Update tests/test_block_async_io.py"

This reverts commit 2d46028e21.

* tweak name

* fixture only

* Update tests/conftest.py

* Update tests/conftest.py

* Apply suggestions from code review

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-06-13 08:52:01 +02:00
..
auth Fix typo in auth (#119388) 2024-06-11 14:01:23 +02:00
backports Deprecated old backports and typing aliases (#114883) 2024-04-06 13:15:30 -10:00
brands Make Weatherflow a brand (#118785) 2024-06-04 13:40:48 +02:00
components Remove async_late_forward_entry_setups and instead implicitly hold the lock (#119088) 2024-06-12 21:06:11 -04:00
generated Add ZHA XZG firmware discovery (#116828) 2024-06-08 18:06:25 +02:00
helpers Fix typos in collection helper (#119524) 2024-06-12 20:37:38 +02:00
scripts Use PEP 695 for function annotations (3) (#117660) 2024-05-18 11:43:32 +02:00
util Update mypy-dev to 1.11.0a5 (#118519) 2024-06-02 15:28:24 +02:00
__init__.py
__main__.py Prevent shutdown fault-log trace-back (#116735) 2024-05-11 07:59:05 +02:00
block_async_io.py Ensure asyncio blocking checks are undone after tests run (#119542) 2024-06-13 08:52:01 +02:00
bootstrap.py Remove isal from after_dependencies in http (#119000) 2024-06-07 09:21:53 +02:00
config.py Fix blocking I/O in the event loop when loading timezones (#117721) 2024-05-20 11:06:03 +02:00
config_entries.py Remove async_late_forward_entry_setups and instead implicitly hold the lock (#119088) 2024-06-12 21:06:11 -04:00
const.py Bump version to 2024.7.0dev0 (#118399) 2024-05-29 20:54:49 +02:00
core.py Allow importing typing helper in core files (#119377) 2024-06-11 13:48:12 +02:00
data_entry_flow.py Rewrite flow handler to flow result conversion as a list comp (#118269) 2024-05-27 15:39:59 -10:00
exceptions.py Import Generator from typing_extensions (1) (#118986) 2024-06-06 17:02:13 +02:00
loader.py Allow importing typing helper in core files (#119377) 2024-06-11 13:48:12 +02:00
package_constraints.txt Update frontend to 20240610.0 (#119320) 2024-06-10 20:22:04 +02:00
py.typed Add py.typed file (#115446) 2024-04-11 22:14:10 -04:00
requirements.py Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
runner.py Ensure name of task is logged for unhandled loop exceptions (#118822) 2024-06-04 12:48:29 -04:00
setup.py Import Generator from typing_extensions (1) (#118986) 2024-06-06 17:02:13 +02:00
strings.json Translation support for device automation extra fields (#115892) 2024-06-12 14:10:02 +02:00