From 33ea67e1d0d65d5a1a4b97dbdb8972dbc2cb7def Mon Sep 17 00:00:00 2001 From: Robert Svensson Date: Fri, 26 Jul 2024 12:29:21 +0200 Subject: [PATCH] Remove last references to hass.data[UNIFI_DOMAIN] (#122642) --- tests/components/unifi/test_init.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/components/unifi/test_init.py b/tests/components/unifi/test_init.py index fe464989af3..de08ba2c6d7 100644 --- a/tests/components/unifi/test_init.py +++ b/tests/components/unifi/test_init.py @@ -13,7 +13,6 @@ from homeassistant.components.unifi.const import ( CONF_ALLOW_UPTIME_SENSORS, CONF_TRACK_CLIENTS, CONF_TRACK_DEVICES, - DOMAIN as UNIFI_DOMAIN, ) from homeassistant.components.unifi.errors import AuthenticationRequired, CannotConnect from homeassistant.config_entries import ConfigEntry, ConfigEntryState @@ -27,12 +26,6 @@ from tests.common import flush_store 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( config_entry_factory: Callable[[], ConfigEntry], ) -> None: