Move processing of recorder service call arguments into services.py (#71260)

This commit is contained in:
J. Nick Koston 2022-05-03 15:56:22 -05:00 committed by GitHub
parent e9abfad361
commit e30940ef2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 104 additions and 108 deletions

View file

@ -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):