Remove HTML support from frontend (#39799)
This commit is contained in:
1 parent
63aa46369b
commit
c6cba5ebc8
4 files changed
+48
-204
No files matched your search
@@ -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