Refactor code structure for improved readability and maintainability

This commit is contained in:
2025-11-07 11:28:13 +01:00
parent dab9d08297
commit ac10501131
12 changed files with 1766 additions and 286 deletions

8
tests/test_sru.py Normal file
View File

@@ -0,0 +1,8 @@
from src.bibapi.sru import SWB
def test_swb_schema():
result = SWB().getBooks(["pica.tit=Java ist auch eine Insel", "pica.bib=20735"])
assert len(result) == 1
assert result[0].title == "Java ist auch eine Insel"
assert