Migrate setup to use eager tasks (#111619)

This commit is contained in:
J. Nick Koston
2024-02-27 12:43:32 -10:00
committed by GitHub
parent 9cf874d4a0
commit 6abb8ae273
7 changed files with 14 additions and 4 deletions

View File

@@ -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