incorrect exception

This commit is contained in:
blacktwin 2021-12-20 00:19:24 -05:00
parent 5494c1e90d
commit ebcadd2996

View file

@ -156,7 +156,7 @@ def test_library_add_edit_delete(plex, movies, photos):
scanner="Plex Video Files Scanner",
language="en",
)
with pytest.raises(BadRequest):
with pytest.raises(NotFound):
plex.library.section(error_section_name)
new_title = "a renamed lib"
section.edit(name=new_title)