test_init.py 276 B

123456789
  1. """Test component setup."""
  2. from homeassistant.setup import async_setup_component
  3. from custom_components.pjlink2.const import DOMAIN
  4. async def test_async_setup(hass):
  5. """Test the component gets setup."""
  6. assert await async_setup_component(hass, DOMAIN, {}) is True