Files
ha-text-ai/tests/conftest.py
T
2024-11-18 00:57:27 +03:00

9 lines
221 B
Python

"""Common fixtures for tests."""
import pytest
from homeassistant.core import HomeAssistant
@pytest.fixture
def hass() -> HomeAssistant:
"""Return a Home Assistant instance for testing."""
return HomeAssistant()