core/tests
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 Add ws endpoint to remove expiration date from refresh tokens (#117546) 2024-05-29 09:09:59 +02:00
components Fix dangerous-default-value in zha tests (#119560) 2024-06-13 08:35:05 +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 Fix bad-chained-comparison pylint warning in tests (#119477) 2024-06-12 12:35:55 +02:00
non_packaged_scripts Add script to compare alexa locales with upstream (#114247) 2024-04-18 13:41:34 +02:00
pylint Ignore nested functions when enforcing type hints in tests (#118948) 2024-06-06 10:43:31 +02:00
resources
script Generate requirements per supported architecture (#115708) 2024-04-22 19:23:08 +02:00
scripts Add more type hints to pylint plugin (#118319) 2024-05-28 18:37:38 +02:00
snapshots
test_util
testing_config Fix pylint warnings in testing config custom components (#119370) 2024-06-11 14:59:49 +02:00
util Ignore broad-exception-raised pylint warnings in tests (#119468) 2024-06-12 12:21:41 +02:00
__init__.py
common.py Fix contextmanager-generator-missing-cleanup warning in tests (#119478) 2024-06-12 22:38:11 +02:00
conftest.py Ensure asyncio blocking checks are undone after tests run (#119542) 2024-06-13 08:52:01 +02: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_time.py Make freezegun find event.time_tracker_utcnow (#116284) 2024-04-27 07:08:56 -05:00
ruff.toml Replace pylint protected-access with Ruff SLF001 (#115735) 2024-05-06 20:33:26 +02:00
syrupy.py
test_backports.py Fix import pylint warning in core tests (#119359) 2024-06-11 15:04:00 +02:00
test_block_async_io.py Ensure asyncio blocking checks are undone after tests run (#119542) 2024-06-13 08:52:01 +02:00
test_bootstrap.py Ensure asyncio blocking checks are undone after tests run (#119542) 2024-06-13 08:52:01 +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 Fix consider-using-tuple pylint warnings in core tests (#119463) 2024-06-12 12:35:01 +02:00
test_config_entries.py Remove `async_late_forward_entry_setups` and instead implicitly hold the lock (#119088) 2024-06-12 21:06:11 -04:00
test_const.py Fix import pylint warning in core tests (#119359) 2024-06-11 15:04:00 +02:00
test_core.py Fix consider-using-tuple pylint warnings in core tests (#119463) 2024-06-12 12:35:01 +02:00
test_data_entry_flow.py Fix arguments-renamed pylint warning in tests (#119473) 2024-06-12 12:25:29 +02:00
test_exceptions.py Fix invalid tuple annotations (#116035) 2024-04-23 16:02:16 +02:00
test_loader.py Fix import pylint warning in core tests (#119359) 2024-06-11 15:04:00 +02:00
test_main.py
test_requirements.py Enable Ruff PT012 (#113957) 2024-06-08 17:59:08 +02:00
test_runner.py Ignore broad-exception-raised pylint warnings in tests (#119468) 2024-06-12 12:21:41 +02:00
test_setup.py Ignore broad-exception-raised pylint warnings in tests (#119468) 2024-06-12 12:21:41 +02:00
test_test_fixtures.py Add more type hints to pylint plugin (#118319) 2024-05-28 18:37:38 +02:00
typing.py Use PEP 695 type alias in tests (#117797) 2024-05-20 19:03:04 +02:00