mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +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:
parent
623cec206b
commit
0bdf96d94c
@ -305,6 +305,7 @@ class TestStatisticsSensor(unittest.TestCase):
|
|||||||
'max_age': {'hours': max_age}
|
'max_age': {'hours': max_age}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
self.hass.block_till_done()
|
||||||
|
|
||||||
self.hass.start()
|
self.hass.start()
|
||||||
self.hass.block_till_done()
|
self.hass.block_till_done()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user