11 lines
338 B
Python
11 lines
338 B
Python
"""Define tests for the The Things Network."""
|
|
|
|
from homeassistant.core import HomeAssistant
|
|
|
|
|
|
async def init_integration(hass: HomeAssistant, config_entry) -> None:
|
|
"""Mock TTNClient."""
|
|
config_entry.add_to_hass(hass)
|
|
assert await hass.config_entries.async_setup(config_entry.entry_id)
|
|
await hass.async_block_till_done()
|