Skip to content

Commit

Permalink
Add test for searching by external guid
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyWong16 committed Sep 15, 2021
1 parent 7f70f9f commit fc405c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,11 @@ def test_library_MovieSection_advancedSearch(movies, movie):
assert len(results) == 1


def test_library_MovieSection_searchGuid(movies, movie):
results = movies.searchGuid(guid=movie.guids[0].id)
assert movie in results


def test_library_ShowSection_search(tvshows, show):
show.addLabel("test_search")
show.addCollection("test_search")
Expand Down

0 comments on commit fc405c9

Please sign in to comment.