Fix flaky geofency test (#18855)

This commit is contained in:
Paulus Schoutsen 2018-11-30 20:06:10 +01:00 committed by GitHub
parent d7809c5398
commit 53cbb28926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))