Files
ha-text-ai/tests/conftest.py
T

9 lines
221 B
Python
Raw Normal View History

2024-11-18 00:57:27 +03:00
"""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()