mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Fix new iframe panel url (#11850)
* Fix new iframe panel url * fix tests
This commit is contained in:
parent
8c627e2b8b
commit
b224fd324d
@ -71,7 +71,7 @@ NO_TIMEOUT = {
|
||||
}
|
||||
|
||||
NO_AUTH = {
|
||||
re.compile(r'^panel_(es5|latest)$'), re.compile(r'^addons/[^/]*/logo$')
|
||||
re.compile(r'^app-(es5|latest)$'), re.compile(r'^addons/[^/]*/logo$')
|
||||
}
|
||||
|
||||
SCHEMA_NO_DATA = vol.Schema({})
|
||||
|
@ -395,7 +395,7 @@ def test_forward_request_no_auth_for_panel(hassio_client, build_type):
|
||||
patch('homeassistant.components.hassio._create_response') as mresp:
|
||||
mresp.return_value = 'response'
|
||||
resp = yield from hassio_client.get(
|
||||
'/api/hassio/panel_{}'.format(build_type))
|
||||
'/api/hassio/app-{}'.format(build_type))
|
||||
|
||||
# Check we got right response
|
||||
assert resp.status == 200
|
||||
|
Loading…
x
Reference in New Issue
Block a user