mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
load cleanups (#23112)
* load cleanups * Remove unused methods * Allow importing requirements at the top of a file * Fix test * Lint * Install reqs ASAP when loading platforms
This commit is contained in:
@@ -25,7 +25,11 @@ async def test_webcomponent_custom_path_not_found(hass):
|
||||
hass, 'panel_custom', config
|
||||
)
|
||||
assert not result
|
||||
assert len(hass.data.get(frontend.DATA_PANELS, {})) == 0
|
||||
|
||||
panels = hass.data.get(frontend.DATA_PANELS, [])
|
||||
|
||||
assert panels
|
||||
assert 'nice_url' not in panels
|
||||
|
||||
|
||||
async def test_webcomponent_custom_path(hass):
|
||||
|
||||
Reference in New Issue
Block a user