Fix Local Media in Media Browser (#45987)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
DeadEnd
2021-02-04 17:02:56 +01:00
committed by GitHub
co-authored by Paulus Schoutsen
parent 56b8e82a69
commit 7b280bdbe7
2 changed files with 4 additions and 4 deletions
@@ -23,7 +23,7 @@ async def test_async_browse_media(hass):
await media_source.async_browse_media(
hass, f"{const.URI_SCHEME}{const.DOMAIN}/local/test/not/exist"
)
assert str(excinfo.value) == "Invalid path."
assert str(excinfo.value) == "Path does not exist."
# Test browse file
with pytest.raises(media_source.BrowseError) as excinfo: