core/tests/util
Jan Morawiec 35ff3afa12
Refactor unittest tests to use pytest (#127770)
* Refactor unittest tests to use pytest

* Add type annotations

* Use caplog to assert logs

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-17 21:28:14 +02:00
..
snapshots Add scaling utils for brightness and fanspeed (#104753) 2023-12-04 12:10:58 +01:00
yaml Refactor unittest tests to use pytest (#127770) 2024-10-17 21:28:14 +02:00
__init__.py
test_aiohttp.py Bump aiohttp to 3.9.1 (#104176) 2023-11-29 16:13:54 +01:00
test_async.py Use BaseEventLoop._thread_id instead of a custom attribute (#124054) 2024-08-17 10:59:39 +02:00
test_collection.py Move recorder chunk utils to shared collection utils (#118065) 2024-05-24 12:49:39 -10:00
test_color.py Fix SIM300 (#120725) 2024-06-28 10:46:02 +02:00
test_dt.py Fix SIM300 (#120725) 2024-06-28 10:46:02 +02:00
test_enum.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_event_type.py Add improved typing for event fire and listen methods (#114906) 2024-04-07 13:28:24 -10:00
test_executor.py Update codespell to 2.3.0 (#118001) 2024-05-24 08:22:29 +02:00
test_file.py Fix unspecified-encoding warnings in tests (#119405) 2024-06-11 17:58:40 +02:00
test_hass_dict.py Add HassDict implementation (#103844) 2024-05-07 10:53:13 +02:00
test_init.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_json.py Cleanup deprecated json utils (#121069) 2024-07-03 15:57:32 +02:00
test_language.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_location.py Improve type hints and fix pylint warnings in util tests (#119355) 2024-06-11 15:07:40 +02:00
test_logging.py Replace pylint broad-exception-raised rule with ruff (#123021) 2024-08-02 12:24:03 +02:00
test_loop.py Adjust Generator type hints in tests (#121013) 2024-07-02 14:12:02 +02:00
test_network.py
test_package.py Always use uv from virtual environment at runtime (#128371) 2024-10-16 19:42:25 +02:00
test_percentage.py Enable Ruff A001 (#115654) 2024-04-21 23:25:27 +02:00
test_process.py Fix blocking process call in process tests (#121104) 2024-07-03 22:26:03 +02:00
test_read_only_dict.py Add (deep)copy support to read only dict (#118204) 2024-05-26 23:05:45 -04:00
test_scaling.py Add scaling utils for brightness and fanspeed (#104753) 2023-12-04 12:10:58 +01:00
test_ssl.py Add SSL Cipher option to aiohttp async_get_clientsession (#126317) 2024-09-24 21:31:52 +02:00
test_thread.py
test_timeout.py Fix bug in timeout util related to multiple global freezes (#122466) 2024-07-29 10:12:18 +02:00
test_ulid.py
test_unit_conversion.py Rename `UnitOfConductivity` enum members (#127919) 2024-10-08 14:44:01 +02:00
test_unit_system.py Use two words for Nautical miles unit (#126905) 2024-09-27 13:16:13 +02:00
test_uuid.py
test_variance.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00