mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Bump plexapi to 4.6.1 (#51936)
This commit is contained in:
parent
aaf3a5a9c5
commit
d4ac5bf048
@ -4,7 +4,7 @@
|
|||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/plex",
|
"documentation": "https://www.home-assistant.io/integrations/plex",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"plexapi==4.5.1",
|
"plexapi==4.6.1",
|
||||||
"plexauth==0.0.6",
|
"plexauth==0.0.6",
|
||||||
"plexwebsocket==0.0.13"
|
"plexwebsocket==0.0.13"
|
||||||
],
|
],
|
||||||
|
@ -1166,7 +1166,7 @@ pillow==8.2.0
|
|||||||
pizzapi==0.0.3
|
pizzapi==0.0.3
|
||||||
|
|
||||||
# homeassistant.components.plex
|
# homeassistant.components.plex
|
||||||
plexapi==4.5.1
|
plexapi==4.6.1
|
||||||
|
|
||||||
# homeassistant.components.plex
|
# homeassistant.components.plex
|
||||||
plexauth==0.0.6
|
plexauth==0.0.6
|
||||||
|
@ -639,7 +639,7 @@ pilight==0.1.1
|
|||||||
pillow==8.2.0
|
pillow==8.2.0
|
||||||
|
|
||||||
# homeassistant.components.plex
|
# homeassistant.components.plex
|
||||||
plexapi==4.5.1
|
plexapi==4.6.1
|
||||||
|
|
||||||
# homeassistant.components.plex
|
# homeassistant.components.plex
|
||||||
plexauth==0.0.6
|
plexauth==0.0.6
|
||||||
|
@ -11,7 +11,12 @@ from .const import DEFAULT_DATA
|
|||||||
|
|
||||||
|
|
||||||
async def test_browse_media(
|
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."""
|
"""Test getting Plex clients from plex.tv."""
|
||||||
websocket_client = await hass_ws_client(hass)
|
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",
|
f"{mock_plex_server.url_in_use}/library/sections/1/all?includeMeta=1",
|
||||||
text=library_movies_filtertypes,
|
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
|
msg_id += 1
|
||||||
library_section_id = next(iter(mock_plex_server.library.sections())).key
|
library_section_id = next(iter(mock_plex_server.library.sections())).key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user