Fix flakey utility meter test (#111400)

The test tooling would cancel setup at teardown because
it was still setting up

https://github.com/home-assistant/core/actions/runs/8039593463/job/21956908225?pr=111336
This commit is contained in:
J. Nick Koston 2024-02-25 09:21:09 -10:00 committed by GitHub
parent 21ff8c8e03
commit ab68a26000
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -347,6 +347,7 @@ async def test_both_cron_and_meter(hass: HomeAssistant) -> None:
}
assert await async_setup_component(hass, DOMAIN, config)
await hass.async_block_till_done()
async def test_cron_and_offset(hass: HomeAssistant) -> None: