1 parent
dc53c21548
commit
4f0064b00e
3 files changed
+4
-8
No files matched your search
+3
-2
@@ -79,8 +79,9 @@ def get_test_home_assistant(num_threads=None):
|
||||
with patch.object(ha, 'async_create_timer', return_value=None):
|
||||
with patch.object(ha, 'async_monitor_worker_pool',
|
||||
return_value=None):
|
||||
orig_start()
|
||||
hass.block_till_done()
|
||||
with patch.object(hass.loop, 'add_signal_handler'):
|
||||
orig_start()
|
||||
hass.block_till_done()
|
||||
|
||||
def stop_hass():
|
||||
orig_stop()
|
||||
|
||||
Reference in new issue
Block a user