Ensure recorder data integrity and MySQL lock error handling (#37228)

This commit is contained in:
Franck Nijhof 2020-06-30 01:23:11 +02:00 committed by GitHub
parent ac237ee10f
commit 79f131066c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 26 deletions

View file

@ -224,6 +224,6 @@ class TestRecorderPurge(unittest.TestCase):
self.hass.block_till_done()
self.hass.data[DATA_INSTANCE].block_till_done()
assert (
mock_logger.debug.mock_calls[4][1][0]
mock_logger.debug.mock_calls[5][1][0]
== "Vacuuming SQL DB to free space"
)