mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-25 13:10:17 +00:00
Update playlist tests for NotFound when removing or moving items
This commit is contained in:
parent
38114b62ba
commit
c31c5317b3
1 changed files with 6 additions and 0 deletions
|
@ -213,6 +213,12 @@ def test_Playlist_exceptions(plex, movies, movie, artist):
|
|||
playlist.updateFilters()
|
||||
with pytest.raises(BadRequest):
|
||||
playlist.addItems(artist)
|
||||
with pytest.raises(NotFound):
|
||||
playlist.removeItems(artist)
|
||||
with pytest.raises(NotFound):
|
||||
playlist.moveItem(artist)
|
||||
with pytest.raises(NotFound):
|
||||
playlist.moveItem(item=movie, after=artist)
|
||||
finally:
|
||||
playlist.delete()
|
||||
|
||||
|
|
Loading…
Reference in a new issue