mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 21:08:27 +00:00
fix section call
This commit is contained in:
parent
050572d2ac
commit
0f2029545c
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ def test_library_add_edit_delete(plex, movies, photos):
|
|||
assert len(section.locations) == 1
|
||||
# Attempt to remove all locations
|
||||
with pytest.raises(BadRequest):
|
||||
plex.library.removeLocations(section.locations)
|
||||
section.removeLocations(section.locations)
|
||||
section.delete()
|
||||
assert section not in plex.library.sections()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue