Test for NotFound exception when adding to watchlist (#1403)

This commit is contained in:
JonnyWong16 2024-04-19 12:56:28 -07:00 committed by GitHub
parent 25fa930c61
commit 7f589c24dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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