core/tests/components/meteo_france/conftest.py

14 lines
314 B
Python

"""Meteo-France generic test utils."""
import pytest
from tests.async_mock import patch
@pytest.fixture(autouse=True)
def patch_requests():
"""Stub out services that makes requests."""
patch_client = patch("homeassistant.components.meteo_france.MeteoFranceClient")
with patch_client:
yield