Files
core/tests/components/cync/__init__.py
2025-09-24 18:43:50 +02:00

16 lines
455 B
Python

"""Tests for the Cync integration."""
from __future__ import annotations
from homeassistant.core import HomeAssistant
from tests.common import MockConfigEntry
async def setup_integration(hass: HomeAssistant, config_entry: MockConfigEntry) -> None:
"""Sets up the Cync integration to be used in testing."""
config_entry.add_to_hass(hass)
await hass.config_entries.async_setup(config_entry.entry_id)
await hass.async_block_till_done()