15 lines
316 B
Python
15 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
|