mirror of
https://github.com/elisspace/core.git
synced 2026-09-29 05:49:53 +00:00
Accept new Plex websocket callback payloads (#40773)
This commit is contained in:
committed by
Paulus Schoutsen
parent
0902caa7e4
commit
c0d4e1eaf4
@@ -1,7 +1,8 @@
|
||||
"""Helper methods for Plex tests."""
|
||||
from plexwebsocket import SIGNAL_DATA
|
||||
|
||||
|
||||
def trigger_plex_update(mock_websocket):
|
||||
"""Call the websocket callback method."""
|
||||
callback = mock_websocket.call_args[0][1]
|
||||
callback()
|
||||
callback(SIGNAL_DATA, None, None)
|
||||
|
||||
Reference in New Issue
Block a user