You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/jenkins/.pyenv/versions/3.6.3/lib/python3.6/site-packages/xunitparser.py", line 141, in parse
return self.parse_root(root)
File "/home/jenkins/.pyenv/versions/3.6.3/lib/python3.6/site-packages/xunitparser.py", line 163, in parse_root
assert len(list(ts)) == int(root.attrib['tests'])
AssertionError
That is because the tests count is off by errors count of tests. The fix for that assert line should be
if'tests'inroot.attrib:
# this is a fix for xunitparser AssertionError out when a test errors outassertlen(list(ts)) ==int(root.attrib['tests']) -int(root.attrib.get('errors', '0'))
The text was updated successfully, but these errors were encountered:
parser for the following junit test case results xml, will produce an AssertionError
The AssertionError is;
That is because the tests count is off by errors count of tests. The fix for that assert line should be
The text was updated successfully, but these errors were encountered: