mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 19:40:11 +00:00
Migrate setup to use eager tasks (#111619)
This commit is contained in:
@@ -66,6 +66,7 @@ async def test_async_setup_raises_entry_auth_failed(
|
||||
|
||||
instance.list_zones.side_effect = pycfdns.AuthenticationException()
|
||||
await hass.config_entries.async_setup(entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert entry.state is ConfigEntryState.SETUP_ERROR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user