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 2018-12-04 10:45:41 +01:00 committed by GitHub
parent ab7c52a9c4
commit b65bffd849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View file

@ -33,6 +33,12 @@ LOCATION_MESSAGE = {
}
@pytest.fixture(autouse=True)
def mock_dev_track(mock_device_tracker_conf):
"""Mock device tracker config loading."""
pass
@pytest.fixture
def mock_client(hass, aiohttp_client):
"""Start the Hass HTTP component."""