Bump plexapi to 4.6.1 (#51936)

This commit is contained in:
jjlawren 2021-06-17 02:02:23 -05:00 committed by GitHub
parent aaf3a5a9c5
commit d4ac5bf048
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 4 deletions

View file

@ -4,7 +4,7 @@
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/plex",
"requirements": [
"plexapi==4.5.1",
"plexapi==4.6.1",
"plexauth==0.0.6",
"plexwebsocket==0.0.13"
],

View file

@ -1166,7 +1166,7 @@ pillow==8.2.0
pizzapi==0.0.3
# homeassistant.components.plex
plexapi==4.5.1
plexapi==4.6.1
# homeassistant.components.plex
plexauth==0.0.6

View file

@ -639,7 +639,7 @@ pilight==0.1.1
pillow==8.2.0
# homeassistant.components.plex
plexapi==4.5.1
plexapi==4.6.1
# homeassistant.components.plex
plexauth==0.0.6

View file

@ -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