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