Add concept of allowed external URLs to config (#36988)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
1 parent
cbb76be9d0
commit
7968cd650a
6 files changed
+66
-7
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user