Skip to content

Commit

Permalink
Test for NotFound exception when adding to watchlist (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyWong16 committed Apr 19, 2024
1 parent 25fa930 commit 7f589c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_myplex.py
Expand Up @@ -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)


Expand Down

0 comments on commit 7f589c2

Please sign in to comment.