@@ -144,10 +144,6 @@ def test_library_MovieSection_update_path(movies):
144144 movies .update (path = movies .locations [0 ])
145145
146146
147- def test_library_ShowSection_all (tvshows ):
148- assert len (tvshows .all (title__iexact = "The 100" ))
149-
150-
151147def test_library_MovieSection_refresh (movies , patched_http_call ):
152148 movies .refresh ()
153149
@@ -174,6 +170,10 @@ def test_library_MovieSection_onDeck(movie, movies, tvshows, episode):
174170 episode .markUnwatched ()
175171
176172
173+ def test_library_MovieSection_searchMovies (movies ):
174+ assert movies .searchMovies (title = "Elephants Dream" )
175+
176+
177177def test_library_MovieSection_recentlyAdded (movies ):
178178 assert len (movies .recentlyAdded ())
179179
@@ -186,10 +186,18 @@ def test_library_MovieSection_collections(movies, collection):
186186 assert len (movies .collections ())
187187
188188
189+ def test_library_ShowSection_all (tvshows ):
190+ assert len (tvshows .all (title__iexact = "The 100" ))
191+
192+
189193def test_library_ShowSection_searchShows (tvshows ):
190194 assert tvshows .searchShows (title = "The 100" )
191195
192196
197+ def test_library_ShowSection_searchSseasons (tvshows ):
198+ assert tvshows .searchSeasons (title = "The 100" )
199+
200+
193201def test_library_ShowSection_searchEpisodes (tvshows ):
194202 assert tvshows .searchEpisodes (title = "Winter Is Coming" )
195203
@@ -305,6 +313,10 @@ def test_library_section_timeline(plex, movies):
305313 assert tl .viewMode == 65592
306314
307315
316+ def test_library_MovieSection_hubSearch (movies ):
317+ assert movies .hubSearch ("Elephants Dream" )
318+
319+
308320def test_library_MovieSection_search (movies , movie ):
309321 movie .addLabel ("test_search" )
310322 movie .addCollection ("test_search" )
@@ -392,7 +404,7 @@ def test_library_search_exceptions(movies):
392404 with pytest .raises (NotFound ):
393405 movies .listFilterChoices (field = "unknown" )
394406 with pytest .raises (NotFound ):
395- movies .search (** { "episode.title" : " unknown"} )
407+ movies .search (unknown = " unknown" )
396408 with pytest .raises (NotFound ):
397409 movies .search (** {"title<>!=" : "unknown" })
398410 with pytest .raises (NotFound ):
0 commit comments