From 53cbb28926efe13ae96128250448bd6e376d8b2e Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 30 Nov 2018 20:06:10 +0100 Subject: [PATCH] Fix flaky geofency test (#18855) --- tests/components/geofency/test_init.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/components/geofency/test_init.py b/tests/components/geofency/test_init.py index 442660c2daf..6f6d78ba73c 100644 --- a/tests/components/geofency/test_init.py +++ b/tests/components/geofency/test_init.py @@ -113,6 +113,8 @@ def geofency_client(loop, hass, aiohttp_client): CONF_MOBILE_BEACONS: ['Car 1'] }})) + loop.run_until_complete(hass.async_block_till_done()) + with patch('homeassistant.components.device_tracker.update_config'): yield loop.run_until_complete(aiohttp_client(hass.http.app))