Remove last references to hass.data[UNIFI_DOMAIN] (#122642)
This commit is contained in:
parent
047100069b
commit
33ea67e1d0
1 changed files with 0 additions and 7 deletions
|
@ -13,7 +13,6 @@ from homeassistant.components.unifi.const import (
|
||||||
CONF_ALLOW_UPTIME_SENSORS,
|
CONF_ALLOW_UPTIME_SENSORS,
|
||||||
CONF_TRACK_CLIENTS,
|
CONF_TRACK_CLIENTS,
|
||||||
CONF_TRACK_DEVICES,
|
CONF_TRACK_DEVICES,
|
||||||
DOMAIN as UNIFI_DOMAIN,
|
|
||||||
)
|
)
|
||||||
from homeassistant.components.unifi.errors import AuthenticationRequired, CannotConnect
|
from homeassistant.components.unifi.errors import AuthenticationRequired, CannotConnect
|
||||||
from homeassistant.config_entries import ConfigEntry, ConfigEntryState
|
from homeassistant.config_entries import ConfigEntry, ConfigEntryState
|
||||||
|
@ -27,12 +26,6 @@ from tests.common import flush_store
|
||||||
from tests.typing import WebSocketGenerator
|
from tests.typing import WebSocketGenerator
|
||||||
|
|
||||||
|
|
||||||
async def test_setup_with_no_config(hass: HomeAssistant) -> None:
|
|
||||||
"""Test that we do not discover anything or try to set up a hub."""
|
|
||||||
assert await async_setup_component(hass, UNIFI_DOMAIN, {}) is True
|
|
||||||
assert UNIFI_DOMAIN not in hass.data
|
|
||||||
|
|
||||||
|
|
||||||
async def test_setup_entry_fails_config_entry_not_ready(
|
async def test_setup_entry_fails_config_entry_not_ready(
|
||||||
config_entry_factory: Callable[[], ConfigEntry],
|
config_entry_factory: Callable[[], ConfigEntry],
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue