Add library search limit test

This commit is contained in:
JonnyWong16 2021-05-27 21:19:40 -07:00
parent 94fb9783fe
commit 65db8c33f6
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -382,6 +382,8 @@ def test_library_MovieSection_advancedSearch(movies, movie):
}
results = movies.search(filters=advancedFilters)
assert movie in results
results = movies.search(limit=1)
assert len(results) == 1
def test_library_ShowSection_search(tvshows, show):