hass-core/tests/components/shelly/conftest.py

12 lines
240 B
Python
Raw Normal View History

"""Test configuration for Shelly."""
2021-01-01 22:31:56 +01:00
from unittest.mock import patch
2021-01-01 22:31:56 +01:00
import pytest
@pytest.fixture(autouse=True)
def mock_coap():
"""Mock out coap."""
with patch("homeassistant.components.shelly.get_coap_context"):
yield