mirror of
https://github.com/home-assistant/core.git
synced 2026-04-11 12:43:49 +01:00
15 lines
369 B
Python
15 lines
369 B
Python
"""mochad conftest."""
|
|
|
|
from unittest import mock
|
|
|
|
import pytest
|
|
|
|
from tests.components.light.conftest import mock_light_profiles # noqa: F401
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def mock_pymochad_controller():
|
|
"""Mock pymochad controller to prevent real socket connections."""
|
|
with mock.patch("homeassistant.components.mochad.controller.PyMochad"):
|
|
yield
|