test: update tests to reflect latest changes

This commit is contained in:
2025-12-10 10:44:22 +01:00
parent ccb2b6fbdc
commit 66aa7ba962
2 changed files with 2 additions and 3 deletions

View File

@@ -20,10 +20,9 @@ from src.bibapi import SWB
# --- Integration test (requires network) ---
@pytest.mark.integration
def test_swb_schema() -> None:
"""Integration test that requires network access."""
result = SWB().getBooks(["pica.tit=Java ist auch eine Insel", "pica.bib=20735"])
result = SWB().getBooks(["TITLE=Java ist auch eine Insel", "LIBRARY=20735"])
assert len(result) == 1
assert result[0].title == "Java ist auch eine Insel"