hass-core/tests/helpers
J. Nick Koston 982c8f8f4a
Fix incorrect scope on checking files to load in translations (#112457)
discovered in https://github.com/home-assistant/core/pull/112295#discussion_r1513505710

We only checked if the last language had files to load
instead of all of them. The checks for each language
are the same because the only reason we would skip
a language is a missing/broken integration or the integration
is a single file. Both of these loop conditions are always
the same reguardless of the language so the check worked
2024-03-05 23:46:24 -05: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 Use builtin TimeoutError [core + helpers] (#109684) 2024-02-05 12:09:54 +01:00
test_area_registry.py Add label registry (#110821) 2024-02-19 11:59:08 +01:00
test_check_config.py Improve package schema validation (#108125) 2024-02-10 20:16:20 +01:00
test_collection.py Update helper tests to use device & entity registry fixtures (#103710) 2023-11-10 09:32:19 +01:00
test_condition.py Migrate non-component tests to use freezegun/freezer (#105142) 2023-12-07 22:58:09 +01:00
test_config_entry_flow.py Remove mock_entity_platform test helper (#104073) 2023-11-16 16:55:08 +01:00
test_config_entry_oauth2_flow.py Ensure config entry oauth2 tests add config entry before updating it (#110421) 2024-02-12 22:59:17 +01:00
test_config_validation.py Avoid expensive inspect calls in config validators (#112085) 2024-03-02 21:50:35 -05:00
test_debounce.py Convert debouncer async_shutdown to be a normal function (#111257) 2024-02-24 08:37:33 +01:00
test_deprecation.py Include deprecated constants in wildcard imports (#107114) 2024-01-05 11:46:45 +01:00
test_device_registry.py Allow translating device names (#110711) 2024-02-28 15:59:59 +01:00
test_discovery.py Remove mock_entity_platform test helper (#104073) 2023-11-16 16:55:08 +01:00
test_discovery_flow.py Add TypeVar default for FlowResult (#112345) 2024-03-05 22:52:11 +01:00
test_dispatcher.py Improve dispatcher typing (#106872) 2024-01-08 09:45:37 +01:00
test_entity.py Avoid scheduling a task to add each entity when not using update_before_add (#110951) 2024-02-23 10:49:26 -10:00
test_entity_component.py Reverse component path (#104087) 2023-12-05 08:43:58 +01:00
test_entity_platform.py Avoid scheduling a task to add each entity when not using update_before_add (#110951) 2024-02-23 10:49:26 -10:00
test_entity_registry.py Remove async_entity_ids and get_entity_ids from entity registry (#112311) 2024-03-05 14:50:41 +01:00
test_entity_values.py Fix flaky lru_cache test (#101252) 2023-10-02 13:52:56 +02:00
test_entityfilter.py Reduce overhead to filter entities in the recorder (#93656) 2023-05-27 19:52:42 -04:00
test_event.py Use builtin TimeoutError [core + helpers] (#109684) 2024-02-05 12:09:54 +01:00
test_floor_registry.py Add floor registry (#110741) 2024-02-17 21:21:15 +01:00
test_frame.py Avoid expensive inspect calls in config validators (#112085) 2024-03-02 21:50:35 -05:00
test_group.py Move group helpers into their own module (#106924) 2024-01-04 17:34:56 +01:00
test_httpx_client.py Use loader.async_suggest_report_issue in frame helper (#101461) 2023-10-05 19:52:26 +02:00
test_icon.py Add icon translations support (#103294) 2024-01-19 16:56:56 +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 Regenerate instance ID on error (#94898) 2023-06-20 11:16:51 +02:00
test_integration_platform.py Refactor integration platforms to import in the executor (#112168) 2024-03-04 19:21:18 -10:00
test_intent.py Add new intents for cover, valve, vacuum, and media player (#110757) 2024-02-19 22:28:42 -05:00
test_issue_registry.py Make the check_config script open issue_registry read only (#98545) 2023-08-18 20:15:00 +02:00
test_json.py Add support for JSON fragments (#107213) 2024-01-07 17:36:31 -10:00
test_label_registry.py Add label registry (#110821) 2024-02-19 11:59:08 +01:00
test_location.py Add typing to tests with single hass argument (2) (#87675) 2023-02-08 08:51:43 +01:00
test_network.py Remove deprecated hass.components.hassio usage (#111878) 2024-03-02 15:38:31 +01:00
test_normalized_name_base_registry.py Add normalized name registry items base class (#111666) 2024-02-29 01:31:33 +01:00
test_ratelimit.py Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
test_recorder.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_redact.py Mask sensitive data in google_assistant logs (#109366) 2024-02-02 22:10:30 +01:00
test_reload.py Reverse component path (#104087) 2023-12-05 08:43:58 +01:00
test_restore_state.py Small speed up to checking core state (#107845) 2024-01-18 08:41:32 -10:00
test_schema_config_entry_flow.py Add TypeVar default for FlowResult (#112345) 2024-03-05 22:52:11 +01:00
test_script.py Avoid directly changing config entry state in tests (part 2) (#110115) 2024-02-10 07:20:15 +01:00
test_script_variables.py Add typing to tests with single hass argument (2) (#87675) 2023-02-08 08:51:43 +01:00
test_selector.py Add qr code selector (#109214) 2024-01-31 19:27:03 +01:00
test_service.py Fix race in loading service descriptions (#109316) 2024-02-01 12:34:23 -06:00
test_significant_change.py Add significant change helper check_valid_float (#106005) 2023-12-18 21:59:30 +01:00
test_singleton.py Add type hints to core tests (#88478) 2023-02-20 11:42:56 +01:00
test_start.py Small speed up to checking core state (#107845) 2024-01-18 08:41:32 -10:00
test_state.py Remove deprecated state.get_changed_since (#96579) 2023-07-18 09:42:48 +02:00
test_storage.py Include filename in exception when loading a json file fails (#111802) 2024-02-29 10:30:29 -05:00
test_storage_remove.py Convert test helpers to get hass instance to contextmanagers (#109990) 2024-02-11 21:23:51 +01: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 Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
test_temperature.py Refactored deprecated UNITS (#97368) 2023-08-03 21:12:01 +02:00
test_template.py Issues template function (#95206) 2024-03-04 14:22:14 +01:00
test_translation.py Fix incorrect scope on checking files to load in translations (#112457) 2024-03-05 23:46:24 -05:00
test_trigger.py Migrate condition/state/trigger helper to use async_get_platform (#112144) 2024-03-03 21:20:47 -05:00
test_update_coordinator.py Use builtin TimeoutError [core + helpers] (#109684) 2024-02-05 12:09:54 +01:00