Fix lingering tasks in google_wifi tests (#89571)

This commit is contained in:
J. Nick Koston 2023-03-12 06:39:07 -10:00 committed by GitHub
parent b4b7605b82
commit 73cd62bd32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,7 @@ async def test_setup_minimum(
"sensor",
{"sensor": {"platform": "google_wifi", "monitored_conditions": ["uptime"]}},
)
await hass.async_block_till_done()
assert_setup_component(1, "sensor")
@ -72,6 +73,7 @@ async def test_setup_get(
}
},
)
await hass.async_block_till_done()
assert_setup_component(6, "sensor")