mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix Waze Travel Time tests (#52663)
This commit is contained in:
@@ -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."""
|
||||
|
Reference in New Issue
Block a user