mirror of
https://github.com/home-assistant/core.git
synced 2025-12-27 14:31:13 +00:00
Add conversation mobile app webhook (#86239)
* Add conversation mobile app webhook * Re-instate removed unused import which was used as fixture
This commit is contained in:
15
tests/components/conversation/conftest.py
Normal file
15
tests/components/conversation/conftest.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""Conversation test helpers."""
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.components import conversation
|
||||
|
||||
from . import MockAgent
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_agent(hass):
|
||||
"""Mock agent."""
|
||||
agent = MockAgent()
|
||||
conversation.async_set_agent(hass, agent)
|
||||
return agent
|
||||
Reference in New Issue
Block a user