Skip to content

Commit 813770a

Browse files
committed
Add additional test for libtype fallback for search field
1 parent b9798e9 commit 813770a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_library.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ def test_library_ShowSection_search(tvshows, show):
338338
episode = season.episode(episode=1)
339339
_test_library_search(tvshows, episode)
340340

341+
# Additional test for mapping field to the correct libtype
342+
assert tvshows.search(unwatched=True) # equal to episode.unwatched=True
343+
341344

342345
def test_library_MusicSection_search(music, artist):
343346
artist.addGenre("test_search")

0 commit comments

Comments
 (0)