home-assistant-core/tests/util
rlippmann 1120246194
Deprecate relative_time() in favor of time_since() and time_until() (#111177)
* add time_since/time_until.  add deprecation of relative_time

* fix merge conflicts

* Apply suggestions from code review

* Update homeassistant/helpers/template.py

* Update homeassistant/helpers/template.py

* Update homeassistant/helpers/template.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-24 11:13:07 +02:00
..
snapshots Add scaling utils for brightness and fanspeed (#104753) 2023-12-04 12:10:58 +01:00
yaml Enable Ruff A001 (#115654) 2024-04-21 23:25:27 +02:00
__init__.py Fix PEP257 issues 2016-03-09 11:15:04 +01:00
test_aiohttp.py Bump aiohttp to 3.9.1 (#104176) 2023-11-29 16:13:54 +01:00
test_async.py Add debug mode to catch unsafe thread operations using core helpers (#115390) 2024-04-24 03:36:05 +02:00
test_color.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_dt.py Deprecate relative_time() in favor of time_since() and time_until() (#111177) 2024-04-24 11:13:07 +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 Improve loops and lists (#113269) 2024-03-14 10:22:20 +01:00
test_file.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_init.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_json.py Enable Ruff SLOT rules (#115043) 2024-04-09 18:57:27 -10:00
test_language.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_location.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_logging.py Enable Ruff PGH rules (#115091) 2024-04-08 15:42:22 +02:00
test_loop.py Detect blocking module imports in the event loop (#114488) 2024-03-30 19:51:31 -10:00
test_network.py Add return type to tests without arguments (#87613) 2023-02-07 14:20:06 +01:00
test_package.py Unignore Ruff PLR in tests (#114470) 2024-04-01 11:11:59 +02:00
test_percentage.py Enable Ruff A001 (#115654) 2024-04-21 23:25:27 +02:00
test_process.py Replace bandit with ruff (#93200) 2023-06-08 22:46:04 +02:00
test_read_only_dict.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_scaling.py Add scaling utils for brightness and fanspeed (#104753) 2023-12-04 12:10:58 +01:00
test_ssl.py Enable Ruff RET504 (#114528) 2024-04-06 11:07:37 +02:00
test_thread.py Add typing to tests with single hass argument (2) (#87675) 2023-02-08 08:51:43 +01:00
test_timeout.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_ulid.py Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
test_unit_conversion.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_unit_system.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_uuid.py Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
test_variance.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00