mirror of
https://github.com/home-assistant/core.git
synced 2026-01-29 09:50:43 +01:00
17 lines
342 B
Python
17 lines
342 B
Python
"""Meteoclimatic 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.meteoclimatic.coordinator.MeteoclimaticClient"
|
|
)
|
|
|
|
with patch_client:
|
|
yield
|