Delete testcase body with empty classname

Related_Prod: PRODX-39920

Change-Id: I31f36ab787eb60134c048c150a2832def526b66d
diff --git a/update_testrail_xml/reporter.py b/update_testrail_xml/reporter.py
index c4ed689..76c18cd 100644
--- a/update_testrail_xml/reporter.py
+++ b/update_testrail_xml/reporter.py
@@ -151,7 +151,7 @@
             for child in root:
                 try:
                     if child.attrib['classname'] == "":
-                        child.clear()
+                        root.remove(child)
                 except KeyError:
                     pass
         logger.info(' Create temporrary file: {}'.format(str(self.temporary_filename)))