Commit 9a0c25c2 authored by Łukasz Nowak's avatar Łukasz Nowak

Cast to string in order to avoid utf issues.

parent 3297cd09
......@@ -200,7 +200,7 @@ class OxatisTestConnector:
xml_element = etree.XML(xml)
validated = xml_schema.validate(xml_element)
if validated is False:
LOG("validateXMLSchema failed with", ERROR, "%s, xsd = %s\nxml = %s\n" %(xml_schema.error_log.filter_from_errors()[0], xsd.data, xml))
LOG("validateXMLSchema failed with", ERROR, "%s, xsd = %s\nxml = %s\n" %(str(xml_schema.error_log.filter_from_errors()[0]), xsd.data, xml))
assert validated is True
return validated
......
69
\ No newline at end of file
70
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment