more more

This commit is contained in:
Hellowlol 2017-10-26 00:51:25 +02:00
parent 7c2395a75e
commit 6735ecc123
3 changed files with 2 additions and 7 deletions

View file

@ -5,6 +5,7 @@ exclude_lines =
raise Unsupported
raise Exception
except ImportError
except BadRequest
def __repr__
def __bool__
def __iter__

View file

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

View file

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