fix removing duplicates with not 0.000 time of execution

Change-Id: I8e49556749e3b474783dd30b46814956638d9fbf
Related-prod: PRODX-3456
diff --git a/update_testrail_xml/reporter.py b/update_testrail_xml/reporter.py
index 36d45d7..e0c9dff 100644
--- a/update_testrail_xml/reporter.py
+++ b/update_testrail_xml/reporter.py
@@ -105,7 +105,7 @@
     def get_empty_classnames(self):
         tree = ET.parse(self.xunit_report)
         root = tree.getroot()
-        
+
         if root[0].tag == 'testsuite':
             root = root[0]
 
@@ -182,7 +182,8 @@
             for child in root:
                 try:
                     if child.attrib['classname'] == case[0] and child.attrib['name'] == case[1]:
-                        if child.attrib['time'] == '0.000':
+                        if (child[0].tag == '0.000' or
+                                child[0].tag == 'error'):
                             child.clear()
                 except KeyError:
                     pass