core/tests/components/shelly/conftest.py

12 lines
243 B
Python

"""Test configuration for Shelly."""
import pytest
from tests.async_mock import patch
@pytest.fixture(autouse=True)
def mock_coap():
"""Mock out coap."""
with patch("homeassistant.components.shelly.get_coap_context"):
yield