mirror of
https://github.com/home-assistant/core.git
synced 2026-11-28 00:30:21 -04:00
Fix Local Media in Media Browser (#45987)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
co-authored by
Paulus Schoutsen
parent
56b8e82a69
commit
7b280bdbe7
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user