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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 14 additions and 4 deletions

View file

@ -69,4 +69,5 @@ async def test_reauth_triggered(hass: HomeAssistant) -> None:
)
entry.add_to_hass(hass)
assert not await hass.config_entries.async_setup(entry.entry_id)
await hass.async_block_till_done()
mock_async_step_reauth.assert_called_once()