mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 19:09:32 +00:00
Keep task references while running (#87970)
* Keep task references while running * Update pilight tests pointing at correct logger call * Fix graphite tests * Fix profiler tests * More graphite test fixes * Remove extra sleep * Fix tests * Shutdown background tasks as part of stage 1 * Remove unnecessary sleep in test * Remove unused method on mock hass * Skip on cancelled too * Remove background tasks * Test trigger variables without actually sleeping * Fix graphite * One more graphite grrrrrrr
This commit is contained in:
@@ -71,6 +71,7 @@ async def test_system_status_subscription(
|
||||
):
|
||||
freezer.tick(TEST_TIME_ADVANCE_INTERVAL)
|
||||
await hass.async_block_till_done()
|
||||
await hass.async_block_till_done()
|
||||
|
||||
response = await client.receive_json()
|
||||
assert response["event"] == {
|
||||
|
||||
Reference in New Issue
Block a user