Skip to content

Commit c19fa9f

Browse files
committed
removing testing with Path object
1 parent 01ab5bd commit c19fa9f

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/test_library.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ def test_library_add_edit_delete(plex, movies, photos):
125125
# Create Other Videos library = No external metadata scanning
126126
section_name = "plexapi_test_section"
127127
movie_location = movies.locations[0]
128-
movie_path = plex.browse(path=movie_location)[0]
129128
photo_location = photos.locations[0]
130129
plex.library.add(
131130
name=section_name,
@@ -173,12 +172,6 @@ def test_library_add_edit_delete(plex, movies, photos):
173172
section.addLocations(photo_location)
174173
section.reload()
175174
assert len(section.locations) == 2
176-
section.removeLocations(movie_path)
177-
section.reload()
178-
assert len(section.locations) == 1
179-
section.addLocations(movie_path)
180-
section.reload()
181-
assert len(section.locations) == 2
182175
section.edit(**{'location': [movie_location]})
183176
section.reload()
184177
assert len(section.locations) == 1

0 commit comments

Comments
 (0)