Add concept of allowed external URLs to config (#36988)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
parent
cbb76be9d0
commit
7968cd650a
6 changed files with 66 additions and 7 deletions
|
@ -234,6 +234,10 @@ async def test_get_config(hass, websocket_client):
|
|||
msg["result"]["whitelist_external_dirs"] = set(
|
||||
msg["result"]["whitelist_external_dirs"]
|
||||
)
|
||||
if "allowlist_external_urls" in msg["result"]:
|
||||
msg["result"]["allowlist_external_urls"] = set(
|
||||
msg["result"]["allowlist_external_urls"]
|
||||
)
|
||||
|
||||
assert msg["result"] == hass.config.as_dict()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue