commit | f3a68a0a7f30378679555c8f439dd6c142aed259 | [log] [tgz] |
---|---|---|
author | Maksym Shalamov <mshalamov@mirantis.com> | Wed Jul 15 10:17:53 2020 +0000 |
committer | Gerrit Code Review <mail@domain.com> | Wed Jul 15 10:17:53 2020 +0000 |
tree | 0863cc11514b643327cf37f8a2f6a76ac72aabd3 | |
parent | 0bd34f4b398770d68044781994ef3f6b5c0306bf [diff] | |
parent | 5f61a0ba17e4bf5b1061e852ac799f878834e98a [diff] |
Merge "fix upload results to testrail"
diff --git a/update_testrail_xml/reporter.py b/update_testrail_xml/reporter.py index e0c9dff..a88bea9 100644 --- a/update_testrail_xml/reporter.py +++ b/update_testrail_xml/reporter.py
@@ -182,7 +182,7 @@ for child in root: try: if child.attrib['classname'] == case[0] and child.attrib['name'] == case[1]: - if (child[0].tag == '0.000' or + if (child.attrib['time'] == '0.000' or child[0].tag == 'error'): child.clear() except KeyError: