1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Fix identifying Plex schema when used in packages (#34651)

This commit is contained in:
Paulus Schoutsen
2020-04-24 09:52:23 -07:00
committed by GitHub
parent c93c6a66e8
commit a2fab264c4
2 changed files with 20 additions and 6 deletions

View File

@@ -1012,6 +1012,7 @@ async def test_component_config_exceptions(hass, caplog):
("not_existing", vol.Schema({vol.Optional("zone", default=dict): dict}), None,),
("non_existing", vol.Schema({"zone": int}), None),
("zone", vol.Schema({}), None),
("plex", vol.Schema(vol.All({"plex": {"host": str}})), "dict"),
],
)
def test_identify_config_schema(domain, schema, expected):