Files
core/tests/components/libresync/__init__.py
T

13 lines
389 B
Python

"""Tests for the LibreSync integration."""
from pytest_homeassistant.common import MockConfigEntry
from homeassistant.core import HomeAssistant
async def setup_integration(hass: HomeAssistant, entry: MockConfigEntry) -> None:
"""Set up the integration."""
entry.add_to_hass(hass)
await hass.config_entries.async_setup(entry.entry_id)
await hass.async_block_till_done()