mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-25 13:10:17 +00:00
Add test for collection search
This commit is contained in:
parent
b9a9abb129
commit
4c75e09640
1 changed files with 3 additions and 1 deletions
|
@ -329,13 +329,15 @@ def test_library_MovieSection_hubSearch(movies):
|
||||||
assert movies.hubSearch("Elephants Dream")
|
assert movies.hubSearch("Elephants Dream")
|
||||||
|
|
||||||
|
|
||||||
def test_library_MovieSection_search(movies, movie):
|
def test_library_MovieSection_search(movies, movie, collection):
|
||||||
movie.addLabel("test_search")
|
movie.addLabel("test_search")
|
||||||
movie.addCollection("test_search")
|
movie.addCollection("test_search")
|
||||||
_test_library_search(movies, movie)
|
_test_library_search(movies, movie)
|
||||||
movie.removeLabel("test_search", locked=False)
|
movie.removeLabel("test_search", locked=False)
|
||||||
movie.removeCollection("test_search", locked=False)
|
movie.removeCollection("test_search", locked=False)
|
||||||
|
|
||||||
|
_test_library_search(movies, collection)
|
||||||
|
|
||||||
|
|
||||||
def test_library_MovieSection_advancedSearch(movies, movie):
|
def test_library_MovieSection_advancedSearch(movies, movie):
|
||||||
advancedFilters = {
|
advancedFilters = {
|
||||||
|
|
Loading…
Reference in a new issue