hass-core/tests/helpers
J. Nick Koston 2fabd4edb8
Prevent collecting states already referenced by domain or all (#41308)
The template engine would collect all the states in
a domain or all states while iterating even though
they were already included in all or the domain

This lead to the rate limit not being applied to
templates that iterated all states that also
accessed a collectable property because the engine
incorrectly believed they were specifically
referenced.
2020-10-06 07:25:05 +02:00
..
__init__.py
test_aiohttp_client.py Fix flapping aiohttp_client test (#36379) 2020-06-02 10:54:13 -05:00
test_area_registry.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_check_config.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_collection.py Allow managing Lovelace storage dashboards (#32241) 2020-02-28 12:43:17 -08:00
test_condition.py Allow any value when triggering on state attribute (#41261) 2020-10-05 12:53:12 +02:00
test_config_entry_flow.py Use single_instance_allowed for webhook config flows (#40965) 2020-10-01 20:44:13 +02:00
test_config_entry_oauth2_flow.py Add exception for NoURLAvailableError in OAuth2FlowHandler (#39845) 2020-09-10 14:52:49 +02:00
test_config_validation.py Allow templates in data & service parameters (making data_template & service_template obsolete) (#39210) 2020-08-24 16:21:48 +02:00
test_debounce.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_deprecation.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_device_registry.py Fix handling of device registry defaults (#39688) 2020-09-06 21:08:50 -05:00
test_discovery.py Mark config dependency of frontend (#36587) 2020-06-09 23:27:47 -07:00
test_dispatcher.py Fail tests if wrapped callbacks or coroutines throw (#35010) 2020-05-06 14:14:57 -07:00
test_entity.py Switch to asyncio.wait for slow update warning implementation (#41184) 2020-10-05 15:28:15 +02:00
test_entity_component.py Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
test_entity_platform.py Drop UNIT_ prefix for percentage constant (#39383) 2020-09-05 21:09:14 +02:00
test_entity_registry.py Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
test_entity_values.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_entityfilter.py Add support for glob matching to entity filters (#36913) 2020-06-23 20:02:29 -05:00
test_event.py Prevent collecting states already referenced by domain or all (#41308) 2020-10-06 07:25:05 +02:00
test_frame.py Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
test_icon.py StarLine integration (#27197) 2019-11-26 11:17:11 -08:00
test_init.py Use set literals in tests (#33669) 2020-04-05 02:20:09 +02:00
test_instance_id.py Extract instance ID helper from updater (#35043) 2020-05-04 11:23:12 -07:00
test_integration_platform.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_intent.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_json.py Black 2019-07-31 12:25:30 -07:00
test_location.py Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
test_network.py Add bare hostname as valid known hostname in get_url helper (#40510) 2020-09-26 09:36:03 +02:00
test_ratelimit.py Implement template rate_limit directive (#40667) 2020-10-01 21:39:44 +02:00
test_reload.py Support reloading the group notify platform (#39511) 2020-09-03 00:12:07 +02:00
test_restore_state.py async_get_instance was not reentrant during await (#38263) 2020-08-12 22:35:24 +02:00
test_script.py Add extended validation for script repeat/choose (#41265) 2020-10-05 14:03:48 +02:00
test_script_variables.py Set variable values in scripts (#39915) 2020-09-11 13:16:25 +02:00
test_service.py Refactor group to extend domains that can be grouped (#40607) 2020-09-30 09:13:53 -05:00
test_state.py Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
test_storage.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_sun.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_system_info.py Black 2019-07-31 12:25:30 -07:00
test_temperature.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
test_template.py Prevent collecting states already referenced by domain or all (#41308) 2020-10-06 07:25:05 +02:00
test_translation.py Do async_setup_platform in background (#36244) 2020-05-31 22:18:30 -07:00
test_trigger.py Reorganize trigger code (#38655) 2020-08-17 11:54:56 -05:00
test_update_coordinator.py Prevent CoordinatorEntity from requesting updates on disabled entities (#39452) 2020-08-30 12:10:22 -05:00