Skip to content

Commit 11ad27b

Browse files
committed
add edit kwargs test
1 parent 26732f7 commit 11ad27b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_library.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ def test_library_add_edit_delete(plex, movies, photos):
179179
section.addLocations(movie_path)
180180
section.reload()
181181
assert len(section.locations) == 2
182+
section.edit(**{'location': [movie_location]})
183+
section.reload()
184+
assert len(section.locations) == 1
182185
# Attempt to remove all locations
183186
with pytest.raises(BadRequest):
184187
plex.library.removeLocations(section.locations)

0 commit comments

Comments
 (0)