mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +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.
|
||||
|
||||
Raises:
|
||||
:exc:`~plexapi.exceptions.BadRequest`: When trying to add existing
|
||||
media to the watchlist.
|
||||
:exc:`~plexapi.exceptions.NotFound`: When trying to add invalid
|
||||
:exc:`~plexapi.exceptions.BadRequest`: When trying to add invalid or existing
|
||||
media to the watchlist.
|
||||
"""
|
||||
if not isinstance(items, list):
|
||||
|
|
|
@ -310,7 +310,7 @@ def test_myplex_watchlist(account, movie, show, artist):
|
|||
account.removeFromWatchlist(movie)
|
||||
|
||||
# Test adding invalid item to watchlist
|
||||
with pytest.raises(NotFound):
|
||||
with pytest.raises(BadRequest):
|
||||
account.addToWatchlist(artist)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue