mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Remove HTML support from frontend (#39799)
This commit is contained in:
@@ -334,14 +334,6 @@ async def test_missing_themes(hass, hass_ws_client):
|
||||
assert msg["result"]["themes"] == {}
|
||||
|
||||
|
||||
async def test_extra_urls(mock_http_client_with_urls, mock_onboarded):
|
||||
"""Test that extra urls are loaded."""
|
||||
resp = await mock_http_client_with_urls.get("/lovelace?latest")
|
||||
assert resp.status == 200
|
||||
text = await resp.text()
|
||||
assert text.find('href="https://domain.com/my_extra_url.html"') >= 0
|
||||
|
||||
|
||||
async def test_get_panels(hass, hass_ws_client, mock_http_client):
|
||||
"""Test get_panels command."""
|
||||
events = async_capture_events(hass, EVENT_PANELS_UPDATED)
|
||||
|
||||
Reference in New Issue
Block a user