core/tests/components/broadlink/conftest.py

13 lines
255 B
Python

"""Broadlink test helpers."""
from unittest.mock import patch
import pytest
@pytest.fixture(autouse=True)
def mock_heartbeat():
"""Mock broadlink heartbeat."""
with patch("homeassistant.components.broadlink.heartbeat.blk.ping"):
yield