mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-24 20:53:09 +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)
|
account.removeFromWatchlist(movie)
|
||||||
|
|
||||||
# Test adding invalid item to watchlist
|
# Test adding invalid item to watchlist
|
||||||
with pytest.raises(BadRequest):
|
with pytest.raises((BadRequest, NotFound)):
|
||||||
account.addToWatchlist(artist)
|
account.addToWatchlist(artist)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue