1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-27 21:35:48 +00:00
Files
core/tests/components/conversation/conftest.py
Paulus Schoutsen 9631146745 Add conversation mobile app webhook (#86239)
* Add conversation mobile app webhook

* Re-instate removed unused import which was used as fixture
2023-01-19 13:59:02 -05:00

16 lines
273 B
Python

"""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