Clean up some async stuff (#3915)
* Clean up some async stuff * Adjust comments * Pass hass instance to eventbus
This commit is contained in:
1 parent
daea93d9f9
commit
4c8d1d9d2f
7 files changed
+139
-111
No files matched your search
+2
-2
@@ -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