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:
parent
2f5c872563
commit
a3fc34fcdc
1 changed files with 1 additions and 0 deletions
|
@ -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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue