From 5d780ded29e2556f52d902c1017433904f0b7bad Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 2 Jun 2020 10:54:13 -0500 Subject: [PATCH] Fix flapping aiohttp_client test (#36379) --- tests/helpers/test_aiohttp_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/helpers/test_aiohttp_client.py b/tests/helpers/test_aiohttp_client.py index 1b5121d75e0..0f37ebd7b3b 100644 --- a/tests/helpers/test_aiohttp_client.py +++ b/tests/helpers/test_aiohttp_client.py @@ -27,6 +27,7 @@ def camera_client_fixture(hass, hass_client): }, ) ) + hass.loop.run_until_complete(hass.async_block_till_done()) yield hass.loop.run_until_complete(hass_client())