hass-core/tests/util
J. Nick Koston 73616520c0
Use built in queue log handlers to avoid formatting logs in the event loop (#35633)
* Use built in queue log handlers to avoid formatting logs in the event loop

Logging is now formatted and written in another thread to
ensure there is minimal impact on the event loop when
a log message is processed.

This change replaces the existing AsyncHandler log handler
as python 3.7+ now offers an off the shelf solution

* add a simple test

* s/async_migrate_log_handlers_to_queue/async_activate_log_queue_handler/g
2020-05-16 09:29:58 -05:00
..
__init__.py Fix PEP257 issues 2016-03-09 11:15:04 +01:00
test_aiohttp.py Black 2019-07-31 12:25:30 -07:00
test_async.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_color.py Black 2019-07-31 12:25:30 -07:00
test_distance.py Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00
test_dt.py Black 2019-07-31 12:25:30 -07:00
test_init.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_json.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_location.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_logging.py Use built in queue log handlers to avoid formatting logs in the event loop (#35633) 2020-05-16 09:29:58 -05:00
test_network.py Add get_url helper, deprecate base_url (#35224) 2020-05-08 02:29:47 +02:00
test_package.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_pressure.py Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00
test_ruamel_yaml.py Improve string formatting v6 (#33698) 2020-04-07 23:14:28 +02:00
test_unit_system.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_volume.py Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00
test_yaml.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00