mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 03:33:08 +00:00
more more
This commit is contained in:
parent
7c2395a75e
commit
6735ecc123
3 changed files with 2 additions and 7 deletions
|
@ -5,6 +5,7 @@ exclude_lines =
|
|||
raise Unsupported
|
||||
raise Exception
|
||||
except ImportError
|
||||
except BadRequest
|
||||
def __repr__
|
||||
def __bool__
|
||||
def __iter__
|
||||
|
|
|
@ -47,7 +47,7 @@ class AlertListener(threading.Thread):
|
|||
""" Called when websocket message is recieved. """
|
||||
try:
|
||||
data = json.loads(message)['NotificationContainer']
|
||||
log.debug('Alert: %s', data)
|
||||
log.debug('Alert: %s %s %s', *data)
|
||||
if self._callback:
|
||||
self._callback(data)
|
||||
except Exception as err:
|
||||
|
|
|
@ -155,12 +155,6 @@ def test_server_createPlayQueue(plex, movie):
|
|||
assert playqueue.playQueueShuffled is True
|
||||
|
||||
|
||||
def _test_server_createPlaylist():
|
||||
# TODO: Implement _test_server_createPlaylist()
|
||||
# see test_playlists.py
|
||||
pass
|
||||
|
||||
|
||||
def test_server_client_not_found(plex):
|
||||
with pytest.raises(NotFound):
|
||||
plex.client('<This-client-should-not-be-found>')
|
||||
|
|
Loading…
Reference in a new issue