mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 22:18:40 +00:00
Bump plexapi to 4.6.1 (#51936)
This commit is contained in:
@@ -11,7 +11,12 @@ from .const import DEFAULT_DATA
|
||||
|
||||
|
||||
async def test_browse_media(
|
||||
hass, hass_ws_client, mock_plex_server, requests_mock, library_movies_filtertypes
|
||||
hass,
|
||||
hass_ws_client,
|
||||
mock_plex_server,
|
||||
requests_mock,
|
||||
library_movies_filtertypes,
|
||||
empty_payload,
|
||||
):
|
||||
"""Test getting Plex clients from plex.tv."""
|
||||
websocket_client = await hass_ws_client(hass)
|
||||
@@ -92,6 +97,10 @@ async def test_browse_media(
|
||||
f"{mock_plex_server.url_in_use}/library/sections/1/all?includeMeta=1",
|
||||
text=library_movies_filtertypes,
|
||||
)
|
||||
requests_mock.get(
|
||||
f"{mock_plex_server.url_in_use}/library/sections/1/collections?includeMeta=1",
|
||||
text=empty_payload,
|
||||
)
|
||||
|
||||
msg_id += 1
|
||||
library_section_id = next(iter(mock_plex_server.library.sections())).key
|
||||
|
||||
Reference in New Issue
Block a user