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:
parent
ab7c52a9c4
commit
b65bffd849
2 changed files with 12 additions and 0 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue