mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
committed by
Pascal Vizeli
parent
ae9e3d83d7
commit
d1a621601d
@@ -105,7 +105,7 @@ BEACON_EXIT_CAR = {
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def geofency_client(loop, hass, aiohttp_client):
|
||||
def geofency_client(loop, hass, hass_client):
|
||||
"""Geofency mock client."""
|
||||
assert loop.run_until_complete(async_setup_component(
|
||||
hass, DOMAIN, {
|
||||
@@ -116,7 +116,7 @@ def geofency_client(loop, hass, aiohttp_client):
|
||||
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))
|
||||
yield loop.run_until_complete(hass_client())
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
|
||||
Reference in New Issue
Block a user