From 421832e09c110d56161e8eb854c2418e410c03f3 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 24 Oct 2023 11:13:44 +0200 Subject: [PATCH] Remove unused test fixture from frontend tests (#102642) --- tests/components/frontend/test_init.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tests/components/frontend/test_init.py b/tests/components/frontend/test_init.py index f0c433f2e96..e6ef6518d1b 100644 --- a/tests/components/frontend/test_init.py +++ b/tests/components/frontend/test_init.py @@ -8,9 +8,6 @@ from unittest.mock import patch import pytest from homeassistant.components.frontend import ( - CONF_EXTRA_HTML_URL, - CONF_EXTRA_HTML_URL_ES5, - CONF_JS_VERSION, CONF_THEMES, DEFAULT_THEME_COLOR, DOMAIN, @@ -106,23 +103,6 @@ async def ws_client(hass, hass_ws_client, frontend): return await hass_ws_client(hass) -@pytest.fixture -async def mock_http_client_with_urls(hass, aiohttp_client, ignore_frontend_deps): - """Start the Home Assistant HTTP component.""" - assert await async_setup_component( - hass, - "frontend", - { - DOMAIN: { - CONF_JS_VERSION: "auto", - CONF_EXTRA_HTML_URL: ["https://domain.com/my_extra_url.html"], - CONF_EXTRA_HTML_URL_ES5: ["https://domain.com/my_extra_url_es5.html"], - } - }, - ) - return await aiohttp_client(hass.http.app) - - @pytest.fixture def mock_onboarded(): """Mock that we're onboarded."""