Move processing of recorder service call arguments into services.py (#71260)
This commit is contained in:
parent
e9abfad361
commit
e30940ef2a
7 changed files with 104 additions and 108 deletions
|
@ -1395,7 +1395,7 @@ async def test_database_lock_timeout(hass, recorder_mock):
|
|||
self.event.wait()
|
||||
|
||||
block_task = BlockQueue()
|
||||
instance.queue.put(block_task)
|
||||
instance.queue_task(block_task)
|
||||
with patch.object(recorder.core, "DB_LOCK_TIMEOUT", 0.1):
|
||||
try:
|
||||
with pytest.raises(TimeoutError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue