Skip to content

Commit 30d9403

Browse files
committed
update tests
1 parent a1dd8d4 commit 30d9403

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_library.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ def test_library_search(library: Library, entry_full: Entry):
131131
def test_tag_search(library: Library):
132132
tag = library.tags[0]
133133

134-
assert library.search_tags(tag.name.lower())
135-
assert library.search_tags(tag.name.upper())
136-
assert library.search_tags(tag.name[2:-2])
137-
assert library.search_tags(tag.name * 2) == [set(), set()]
134+
assert library.search_tags(tag.name.lower())[0]
135+
assert library.search_tags(tag.name.upper())[0]
136+
assert library.search_tags(tag.name[2:-2])[0]
137+
assert library.search_tags(tag.name * 2) == ([], [])
138138

139139

140140
def test_get_entry(library: Library, entry_min: Entry):

0 commit comments

Comments
 (0)