1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-08-07 00:29:55 +02:00

✔ MODS: Check for Warnings

This commit is contained in:
Mike Gerber 2025-08-06 20:19:34 +02:00
parent 2f5c872563
commit a3fc34fcdc

View file

@ -153,6 +153,7 @@ def test_originInfo_no_event_type():
assert d == {} # empty
assert len(ws) == 1
assert isinstance(ws[0].message, Warning)
assert (
ws[0].message.args[0]
== "Filtered {http://www.loc.gov/mods/v3}originInfo element (has no eventType)"