Fix Waze Travel Time tests (#52663)
parent
5c82776411
commit
02d8d25d1d
|
@ -5,6 +5,13 @@ from WazeRouteCalculator import WRCError
|
|||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_wrc():
|
||||
"""Mock out WazeRouteCalculator."""
|
||||
with patch("homeassistant.components.waze_travel_time.sensor.WazeRouteCalculator"):
|
||||
yield
|
||||
|
||||
|
||||
@pytest.fixture(name="skip_notifications", autouse=True)
|
||||
def skip_notifications_fixture():
|
||||
"""Skip notification calls."""
|
||||
|
|
Loading…
Reference in New Issue