mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Fix lingering tasks in google_wifi tests (#89571)
This commit is contained in:
parent
b4b7605b82
commit
73cd62bd32
@ -44,6 +44,7 @@ async def test_setup_minimum(
|
|||||||
"sensor",
|
"sensor",
|
||||||
{"sensor": {"platform": "google_wifi", "monitored_conditions": ["uptime"]}},
|
{"sensor": {"platform": "google_wifi", "monitored_conditions": ["uptime"]}},
|
||||||
)
|
)
|
||||||
|
await hass.async_block_till_done()
|
||||||
assert_setup_component(1, "sensor")
|
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")
|
assert_setup_component(6, "sensor")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user