Mock out device tracker configuration loading funcs in Geofency + OwnTracks (#18968)

* Mock out device tracker configuration loading funcs

* Update test_init.py

* Update test_init.py
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-12-04 10:45:41 +01:00
1 parent ab7c52a9c4
commit b65bffd849
2 files changed
+12

No files matched your search

+6
View File
@@ -104,6 +104,12 @@ BEACON_EXIT_CAR = {
}
@pytest.fixture(autouse=True)
def mock_dev_track(mock_device_tracker_conf):
"""Mock device tracker config loading."""
pass
@pytest.fixture
def geofency_client(loop, hass, hass_client):
"""Geofency mock client."""