init home-assistant
This commit is contained in:
15
home-assistant/tests/components/triggercmd/conftest.py
Normal file
15
home-assistant/tests/components/triggercmd/conftest.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""triggercmd conftest."""
|
||||
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_async_setup_entry():
|
||||
"""Mock async_setup_entry."""
|
||||
with patch(
|
||||
"homeassistant.components.triggercmd.async_setup_entry",
|
||||
return_value=True,
|
||||
) as mock_async_setup_entry:
|
||||
yield mock_async_setup_entry
|
||||
Reference in New Issue
Block a user