mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Intelligent timeout handler for setup/bootstrap (#38329)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -60,6 +60,7 @@ async def test_get_conditions(hass, device_reg, entity_reg):
|
||||
)
|
||||
|
||||
assert await async_setup_component(hass, DOMAIN, {DOMAIN: {CONF_PLATFORM: "test"}})
|
||||
await hass.async_block_till_done()
|
||||
|
||||
expected_conditions = [
|
||||
{
|
||||
|
||||
@@ -60,6 +60,7 @@ async def test_get_triggers(hass, device_reg, entity_reg):
|
||||
)
|
||||
|
||||
assert await async_setup_component(hass, DOMAIN, {DOMAIN: {CONF_PLATFORM: "test"}})
|
||||
await hass.async_block_till_done()
|
||||
|
||||
expected_triggers = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user