Skip to content

Commit

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

Please sign in to comment.