mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Clean up some async stuff (#3915)
* Clean up some async stuff * Adjust comments * Pass hass instance to eventbus
This commit is contained in:
@@ -76,8 +76,8 @@ def get_test_home_assistant(num_threads=None):
|
||||
"""Fake stop."""
|
||||
yield None
|
||||
|
||||
@patch.object(ha, 'async_create_timer')
|
||||
@patch.object(ha, 'async_monitor_worker_pool')
|
||||
@patch.object(ha, '_async_create_timer')
|
||||
@patch.object(ha, '_async_monitor_worker_pool')
|
||||
@patch.object(hass.loop, 'add_signal_handler')
|
||||
@patch.object(hass.loop, 'run_forever')
|
||||
@patch.object(hass.loop, 'close')
|
||||
|
||||
Reference in New Issue
Block a user