mirror of
https://github.com/home-assistant/core.git
synced 2026-05-26 18:26:25 +01:00
14 lines
311 B
Python
14 lines
311 B
Python
"""Meteo-France generic test utils."""
|
|
from unittest.mock import patch
|
|
|
|
import pytest
|
|
|
|
|
|
@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
|