Fix hue test

pull/32211/head
Paulus Schoutsen 2020-02-20 08:11:27 -08:00 committed by Franck Nijhof
parent 9c755d8fd4
commit 4de3871a78
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
2 changed files with 2 additions and 9 deletions

View File

@ -46,13 +46,7 @@ CONFIG_SCHEMA = vol.Schema(
DOMAIN: vol.Schema(
{
vol.Optional(CONF_BRIDGES): vol.All(
cv.ensure_list,
[
vol.All(
cv.deprecated("filename", invalidation_version="0.106.0"),
BRIDGE_CONFIG_SCHEMA,
),
],
cv.ensure_list, [BRIDGE_CONFIG_SCHEMA],
)
}
)

View File

@ -37,7 +37,7 @@ async def test_setup_defined_hosts_known_auth(hass):
hue.CONF_ALLOW_HUE_GROUPS: False,
hue.CONF_ALLOW_UNREACHABLE: True,
},
{hue.CONF_HOST: "1.1.1.1", "filename": "bla"},
{hue.CONF_HOST: "1.1.1.1"},
]
}
},
@ -59,7 +59,6 @@ async def test_setup_defined_hosts_known_auth(hass):
hue.CONF_HOST: "1.1.1.1",
hue.CONF_ALLOW_HUE_GROUPS: True,
hue.CONF_ALLOW_UNREACHABLE: False,
"filename": "bla",
},
}