core/tests
Thomas Hollstegge 5de21375c0
Make sure groups are initialized before template sensors (#37766)
* Make sure groups are initialized before template sensors

This way users may use the `expand` function in templates to expand
groups and have HA listen for changes to group members.

Fixes #35872

* Patch async_setup_platform instead of async_setup

* Cleanup

* Use an event to avoid sleep

* Update tests/components/template/test_sensor.py

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-08 21:34:14 -05:00
..
auth Drop white blacklist pt1 (#37816) 2020-07-13 17:43:11 +02:00
components Make sure groups are initialized before template sensors (#37766) 2020-08-08 21:34:14 -05:00
fixtures Add basic websocket api for OZW (#38265) 2020-07-29 22:35:26 +02:00
hassfest
helpers V2 timeout for async_add_entities (#38601) 2020-08-07 08:36:38 +02:00
mock Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
resources
scripts Support dual stack IP support (IPv4 and IPv6) (#38046) 2020-08-04 15:34:23 +02:00
test_util Fix docstring in test_utils/aiohttp.py (#34040) 2020-04-11 20:20:19 +02:00
testing_config Add device classes for electrical measurement (#36800) 2020-08-08 21:04:18 +02:00
util Bump codespell from v1.16.0 to v1.17.1 and fix new spelling errors (#38663) 2020-08-08 14:41:02 +02:00
__init__.py
async_mock.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
bandit.yaml Enable some more bandit checks (#30857) 2020-01-20 18:44:55 +02:00
common.py Use event loop scheduling for tracking time patterns (#38021) 2020-07-20 20:18:31 -10:00
conftest.py Use event loop scheduling for tracking time patterns (#38021) 2020-07-20 20:18:31 -10:00
ignore_uncaught_exceptions.py Fix broken CI (#35314) 2020-05-06 18:40:21 -07:00
test_bootstrap.py Detect lingering threads after tests (#37270) 2020-07-09 16:15:14 +02:00
test_config.py Drop white blacklist pt1 (#37816) 2020-07-13 17:43:11 +02:00
test_config_entries.py Add support for reload_on_update to _abort_if_unique_id_configured (#38638) 2020-08-08 13:23:56 -05:00
test_core.py Bump codespell from v1.16.0 to v1.17.1 and fix new spelling errors (#38663) 2020-08-08 14:41:02 +02:00
test_data_entry_flow.py Add current step that is in progress (#35272) 2020-05-05 21:34:51 -07:00
test_loader.py Add zeroconf/homekit/ssdp discovery support for custom components (#38466) 2020-08-05 15:50:56 +02:00
test_main.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_requirements.py Intelligent timeout handler for setup/bootstrap (#38329) 2020-08-05 14:58:19 +02:00
test_setup.py Intelligent timeout handler for setup/bootstrap (#38329) 2020-08-05 14:58:19 +02:00