test: update tests to reflect latest changes
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user