mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
Test for NotFound
exception when adding to watchlist (#1403)
This commit is contained in:
parent
25fa930c61
commit
7f589c24dd
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ def test_myplex_watchlist(account, movie, show, artist):
|
|||
account.removeFromWatchlist(movie)
|
||||
|
||||
# Test adding invalid item to watchlist
|
||||
with pytest.raises(BadRequest):
|
||||
with pytest.raises((BadRequest, NotFound)):
|
||||
account.addToWatchlist(artist)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue