Skip to content

Commit 7f589c2

Browse files
authored
Test for NotFound exception when adding to watchlist (#1403)
1 parent 25fa930 commit 7f589c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/test_myplex.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def test_myplex_watchlist(account, movie, show, artist):
310310
account.removeFromWatchlist(movie)
311311

312312
# Test adding invalid item to watchlist
313-
with pytest.raises(BadRequest):
313+
with pytest.raises((BadRequest, NotFound)):
314314
account.addToWatchlist(artist)
315315

316316

0 commit comments

Comments
 (0)