core/tests/components/freebox/conftest.py

12 lines
231 B
Python

"""Test helpers for Freebox."""
from unittest.mock import patch
import pytest
@pytest.fixture(autouse=True)
def mock_path():
"""Mock path lib."""
with patch("homeassistant.components.freebox.router.Path"):
yield