core/tests
Joakim Plate bcd604eec2
Detect lingering threads after tests (#37270)
* Detect lingering threads after tests

* Make sure cast is setup before checking state

* Make sure we ask executors of old hass to shutdown

We are not waiting here, just hoping for the best

* Make sure all instances of hass and executors is stopped.

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Also apply hass stopping to scripts

* Adjust to changes how we set up executor

* Add new CoreState.stopped

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-09 16:15:14 +02:00
..
auth Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
components Detect lingering threads after tests (#37270) 2020-07-09 16:15:14 +02:00
fixtures Add ozw garage door barrier support (#37316) 2020-07-02 21:29:09 +02:00
hassfest Make Hassfest stricter pt 2 (#30068) 2019-12-19 14:00:22 +01:00
helpers Cleanup async_track_state_change and augment docstring (#37251) 2020-07-05 17:31:33 -05:00
mock Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
resources
scripts Detect lingering threads after tests (#37270) 2020-07-09 16:15:14 +02:00
test_util Fix docstring in test_utils/aiohttp.py (#34040) 2020-04-11 20:20:19 +02:00
testing_config Address new issues flagged by flake8 3.8.0a2 (#34964) 2020-04-30 21:37:58 +02:00
util Fix cloudhooks coming in for non existing webhooks (#36836) 2020-06-15 16:30:40 -07: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 Protect loop set default executor (#37438) 2020-07-06 15:58:53 -07:00
conftest.py Detect lingering threads after tests (#37270) 2020-07-09 16:15:14 +02: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 Complete deprecation of hidden attribute (ATTR_HIDDEN) (#37041) 2020-06-23 17:05:32 -05:00
test_config_entries.py ConfigFlow default discovery without unique ID (#36754) 2020-06-15 13:38:38 +02:00
test_core.py Detect lingering threads after tests (#37270) 2020-07-09 16:15:14 +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 Improve after_dependencies handling (#36898) 2020-06-19 17:24:33 -07:00
test_main.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_requirements.py Upgrade zeroconf to 0.27.1 (#36277) 2020-06-05 14:33:26 -07:00
test_setup.py Improve after_dependencies handling (#36898) 2020-06-19 17:24:33 -07:00