mirror of
https://github.com/home-assistant/core.git
synced 2025-06-21 05:27:06 +00:00
9 lines
248 B
Python
9 lines
248 B
Python
"""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(SIGNAL_DATA, None, None)
|