1
mirror of https://github.com/home-assistant/core synced 2024-09-09 12:51:22 +02:00
ha-core/tests/util
epenet 5438552d4a
Cleanup unit conversion (#79197)
* Move UNIT_RATIO to BaseUnitConverter

* Make UNIT_CONVERSION private

* Remove STATISTIC_UNIT_TO_UNIT_CLASS constant

* Cleanup websocket_api

* Imrpove valid_units check
2022-09-28 13:49:46 +02:00
..
yaml Fix failure to raise on bad YAML syntax from include files (#75510) 2022-07-20 19:25:17 +02:00
__init__.py Fix PEP257 issues 2016-03-09 11:15:04 +01:00
test_aiohttp.py Allow sending webhooks via WS connection (#62725) 2022-01-07 10:41:36 -08:00
test_async.py Custom component -> Custom integration (#75404) 2022-07-18 22:10:22 +02:00
test_color.py Add coverage for color_rgbww_to_rgb, fix divzero case (#65721) 2022-02-05 10:59:32 -06:00
test_distance.py Remove argument validation in Unit Converter (#79107) 2022-09-28 10:58:04 +02:00
test_dt.py Add template as_timedelta (#71801) 2022-05-23 19:32:22 +02:00
test_executor.py Fix deadlock at shutdown with python 3.9 (#52613) 2021-07-07 09:23:24 +02:00
test_file.py Use atomicwrites for mission critical core files (#59606) 2021-11-15 11:19:31 +01:00
test_init.py Fix flaky datetime test (#68524) 2022-03-23 09:30:01 +01:00
test_json.py Use default encoder when saving storage (#75319) 2022-07-17 14:25:19 +02:00
test_location.py Update whoami URL (#67793) 2022-03-07 11:11:25 +01:00
test_logging.py Ensure original log handlers are restored at close (#49230) 2021-04-15 10:53:48 +02:00
test_network.py Add is_host_valid util (#76589) 2022-09-11 11:12:04 -05:00
test_package.py Remove pip --prefix workaround (#74922) 2022-07-11 11:33:28 +02:00
test_percentage.py Handle range conversions that do not start at 1 (#48298) 2021-03-24 12:33:44 -10:00
test_pressure.py Remove argument validation in Unit Converter (#79107) 2022-09-28 10:58:04 +02:00
test_process.py Prevent ping integration from blocking startup (#38504) 2020-08-05 12:43:35 +02:00
test_read_only_dict.py Protect state.as_dict from mutation (#65693) 2022-02-04 14:45:25 -08:00
test_speed.py Remove argument validation in Unit Converter (#79107) 2022-09-28 10:58:04 +02:00
test_temperature.py Remove argument validation in Unit Converter (#79107) 2022-09-28 10:58:04 +02:00
test_thread.py Ensure shutdown does not deadlock (#49282) 2021-04-18 08:55:51 -10:00
test_timeout.py Use contextlib.suppress where possible (#48189) 2021-03-23 14:36:43 +01:00
test_ulid.py Use ULID short format for context ids (#71119) 2022-05-01 21:44:54 -07:00
test_unit_conversion.py Cleanup unit conversion (#79197) 2022-09-28 13:49:46 +02:00
test_unit_system.py Remove argument validation in Unit Converter (#79107) 2022-09-28 10:58:04 +02:00
test_uuid.py Improve performance of generating non-cryptographically secure uuids (#41314) 2020-10-07 16:37:01 +02:00
test_variance.py Add PrusaLink integration (#77429) 2022-08-29 20:45:27 -04:00
test_volume.py Remove argument validation in Unit Converter (#79107) 2022-09-28 10:58:04 +02:00