core/tests
Martin Hjelmare 2a120d9045
Patch aiohttp client session close (#34769)
* Patch aiohttp client session close

* Add test

* Restore close regardless of auto_cleanup

* Close session instead of detaching and do not restore

* Delint test

* Add frame helper

* Use frame helper

* Test warning log when closing session

* Clean up

* Correct docstring

* Do not change shutdown

* Fix tests
2020-05-13 09:58:33 +02:00
..
auth Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
components UniFi - Sites don't declare role on UniFiOS 1.7.0 beta (#35555) 2020-05-13 00:37:16 +02:00
fixtures Add binary sensor platform to zwave_mqtt (#35519) 2020-05-12 20:07:11 +02:00
hassfest Make Hassfest stricter pt 2 (#30068) 2019-12-19 14:00:22 +01:00
helpers Patch aiohttp client session close (#34769) 2020-05-13 09:58:33 +02:00
mock Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
resources
scripts Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07: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 Add get_url helper, deprecate base_url (#35224) 2020-05-08 02:29:47 +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 a future for mock coro (#34989) 2020-04-30 16:31:00 -07:00
conftest.py Fail tests if wrapped callbacks or coroutines throw (#35010) 2020-05-06 14:14:57 -07:00
ignore_uncaught_exceptions.py Fix broken CI (#35314) 2020-05-06 18:40:21 -07:00
test_bootstrap.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_config.py Add get_url helper, deprecate base_url (#35224) 2020-05-08 02:29:47 +02:00
test_config_entries.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_core.py Detect use of deprecated base_url (#35353) 2020-05-08 17:52:32 +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 Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_main.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_requirements.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_setup.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00