mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 11:43:13 +00:00
This reverts commit bf925c60e1
.
This commit is contained in:
parent
3e752d5f27
commit
d9be0e6f06
2 changed files with 2 additions and 4 deletions
|
@ -963,9 +963,7 @@ class MyPlexAccount(PlexObject):
|
||||||
objects to be added to the watchlist.
|
objects to be added to the watchlist.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
:exc:`~plexapi.exceptions.BadRequest`: When trying to add existing
|
:exc:`~plexapi.exceptions.BadRequest`: When trying to add invalid or existing
|
||||||
media to the watchlist.
|
|
||||||
:exc:`~plexapi.exceptions.NotFound`: When trying to add invalid
|
|
||||||
media to the watchlist.
|
media to the watchlist.
|
||||||
"""
|
"""
|
||||||
if not isinstance(items, list):
|
if not isinstance(items, list):
|
||||||
|
|
|
@ -310,7 +310,7 @@ def test_myplex_watchlist(account, movie, show, artist):
|
||||||
account.removeFromWatchlist(movie)
|
account.removeFromWatchlist(movie)
|
||||||
|
|
||||||
# Test adding invalid item to watchlist
|
# Test adding invalid item to watchlist
|
||||||
with pytest.raises(NotFound):
|
with pytest.raises(BadRequest):
|
||||||
account.addToWatchlist(artist)
|
account.addToWatchlist(artist)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue