14 lines
355 B
Python
14 lines
355 B
Python
"""Fixtures for tests that run against a Home Assistant instance."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from collections.abc import Generator
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def auto_enable_custom_integrations(enable_custom_integrations: None) -> Generator[None]:
|
|
"""Load custom_components/ in every Home Assistant test."""
|
|
yield
|