Files
core/tests/components/triggercmd/conftest.py
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
335 B
Python
Raw Normal View History

2024-09-11 09:49:37 -04:00
"""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