core/tests/components/config/test_init.py

11 lines
318 B
Python

"""Test config init."""
from homeassistant.core import HomeAssistant
from homeassistant.setup import async_setup_component
async def test_config_setup(hass: HomeAssistant) -> None:
"""Test it sets up hassbian."""
await async_setup_component(hass, "config", {})
assert "config" in hass.config.components