Skip to content
Snippets Groups Projects
Commit 6b2edd8f authored by florian's avatar florian
Browse files

FIX: Use correct error message serialization

parent 76184d95
No related branches found
No related tags found
2 merge requests!93Release 0.11.0,!92F merge missing list datatype
Pipeline #32557 passed
......@@ -36,4 +36,4 @@ def test_issue_100():
xml_el = lxml.etree.parse(filename).getroot()
with raises(TypeError) as exc_info:
db.common.models._parse_single_xml_element(xml_el)
assert "Invalid datatype: List valued properties" in exc_info.value.msg
assert "Invalid datatype: List valued properties" in str(exc_info.value)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment