core/tests/helpers
J. Nick Koston 038040db5e
Fix race in TimestampDataUpdateCoordinator (#115542)
* Fix race in TimestampDataUpdateCoordinator

The last_update_success_time value was being set after the listeners
were fired which could lead to a loop because the listener may
re-trigger an update because it thinks the data is stale

* coverage

* docstring
2024-04-23 20:06:53 +02:00
..
snapshots Add support for placeholders in entity name translations (#104453) 2024-01-03 17:34:47 +01:00
__init__.py
test_aiohttp_client.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_area_registry.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_category_registry.py Update empty line formatting after module docstring (#114040) 2024-03-23 00:27:57 +01:00
test_check_config.py Add missing platforms_exist guard to check_config (#114600) 2024-04-02 01:51:33 +00:00
test_collection.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_condition.py Fix spelling [docstrings + comments] (#114168) 2024-03-25 11:33:00 +01:00
test_config_entry_flow.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_config_entry_oauth2_flow.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_config_validation.py Handle ambiguous script actions by using action map order (#114825) 2024-04-05 12:33:06 +02:00
test_debounce.py Add the ability to create Debouncer tasks as background tasks (#113128) 2024-03-12 08:41:12 -04:00
test_deprecation.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_device_registry.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_discovery.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_discovery_flow.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_dispatcher.py Move SignalTypes to util (#114236) 2024-03-27 08:41:44 +01:00
test_entity.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_entity_component.py Reverse component path (#104087) 2023-12-05 08:43:58 +01:00
test_entity_platform.py Avoid checking for polling if an entity fails to add (#115159) 2024-04-08 10:41:38 +02:00
test_entity_registry.py Remove async_get_device_class_lookup from entity_registry (#114212) 2024-03-26 09:22:53 +01:00
test_entity_values.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_entityfilter.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_event.py Refactor rate limit helper to track time in seconds (#113898) 2024-03-20 19:49:37 -04:00
test_floor_registry.py Default floor level to None (and allow unsetting it) (#114249) 2024-03-26 18:58:25 +01:00
test_frame.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_group.py Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
test_httpx_client.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_icon.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_importlib.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_init.py Move config_per_platform and extract_domain_configs to config.py (#104989) 2023-12-04 12:48:49 +01:00
test_instance_id.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_integration_platform.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_intent.py Add initial support for floors to intents (#114456) 2024-04-02 01:51:22 +00:00
test_issue_registry.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_json.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_label_registry.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_location.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_network.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_normalized_name_base_registry.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_ratelimit.py Refactor rate limit helper to track time in seconds (#113898) 2024-03-20 19:49:37 -04:00
test_recorder.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_redact.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_registry.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_reload.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_restore_state.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_schema_config_entry_flow.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_script.py Terminate scripts with until and while conditions that execute more than 10000 times (#115110) 2024-04-08 10:41:23 +02:00
test_script_variables.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_selector.py Add floor selector (#114614) 2024-04-02 12:28:00 +02:00
test_service.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_significant_change.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_singleton.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_start.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_state.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_storage.py Preload storage for integrations we know we are going to setup (#114192) 2024-03-25 15:49:54 -10:00
test_storage_remove.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_sun.py Migrate non-component tests to use freezegun/freezer (#105142) 2023-12-07 22:58:09 +01:00
test_system_info.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_temperature.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_template.py Allow passing area/device/entity IDs to floor_id and floor_name (#114748) 2024-04-03 17:55:01 +02:00
test_translation.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_trigger.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_update_coordinator.py Fix race in TimestampDataUpdateCoordinator (#115542) 2024-04-23 20:06:53 +02:00