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()