hass-core/tests/components/homeassistant_yellow/conftest.py
Erik Montnemery e3b6c7a66f
Add Home Assistant Yellow integration ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-13 23:25:11 -07:00

14 lines
316 B
Python

"""Test fixtures for the Home Assistant Yellow integration."""
from unittest.mock import patch
import pytest
@pytest.fixture(autouse=True)
def mock_zha():
"""Mock the zha integration."""
with patch(
"homeassistant.components.zha.async_setup_entry",
return_value=True,
):
yield