core/tests/components/persistent_notification/conftest.py

14 lines
440 B
Python

"""The tests for the persistent notification component."""
import pytest
import homeassistant.components.persistent_notification as pn
from homeassistant.core import HomeAssistant
from homeassistant.setup import async_setup_component
@pytest.fixture(autouse=True)
async def setup_integration(hass: HomeAssistant) -> None:
"""Set up persistent notification integration."""
assert await async_setup_component(hass, pn.DOMAIN, {})