mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix Waze Travel Time tests (#52663)
This commit is contained in:
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…
x
Reference in New Issue
Block a user