Refactor code structure for improved readability and maintainability
This commit is contained in:
8
tests/test_sru.py
Normal file
8
tests/test_sru.py
Normal 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
|
||||
Reference in New Issue
Block a user