Update test_library.py

Add section deletion after testing
This commit is contained in:
blacktwin 2024-03-29 15:18:09 -04:00 committed by GitHub
parent 38b305f7d5
commit 604f483753
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,6 +215,8 @@ def test_library_add_advanced_settings(plex, movies):
for setting in section.settings():
if setting.value != setting.default:
assert advanced_settings.get(setting.id) == setting.value
section.delete()
assert section not in plex.library.sections()
def test_library_Library_cleanBundle(plex):