Skip to content

Commit e358594

Browse files
committed
fix: add missing assertion in search_library fixture
1 parent a4e32a1 commit e358594

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ def library(request):
114114
@pytest.fixture
115115
def search_library() -> Library:
116116
lib = Library()
117-
lib.open_library(Path(CWD / "fixtures" / "search_library"))
117+
status = lib.open_library(Path(CWD / "fixtures" / "search_library"))
118+
assert status.success
118119
return lib
119120

120121

0 commit comments

Comments
 (0)