1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-27 05:14:39 +00:00

Add block after setting up component (#18756)

Added a block_till_done after setting up component and before starting HASS.
This commit is contained in:
ehendrix23
2018-11-28 08:14:37 -07:00
committed by Paulus Schoutsen
parent 623cec206b
commit 0bdf96d94c

View File

@@ -305,6 +305,7 @@ class TestStatisticsSensor(unittest.TestCase):
'max_age': {'hours': max_age}
}
})
self.hass.block_till_done()
self.hass.start()
self.hass.block_till_done()