hass-core/tests/components/shelly/conftest.py
2021-01-01 22:31:56 +01:00

11 lines
240 B
Python

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