Loading scripts/parse_mld_xml.py +7 −3 Original line number Diff line number Diff line Loading @@ -25,6 +25,10 @@ if __name__ == '__main__': with open(csv_file,'w') as outfile: for testcase in testcases: fulltestname = testcase.get('file') + "::" + testcase.get('name') mld_val = testcase.find('.//property').get('value') if testcase.find('.//skipped') == None: fulltestname = testcase.get('classname') + "::" + testcase.get('name') if testcase.find('.//property') == None: mld_val = None else: mld_val = testcase.find('.//property').get('value') # Currently MLD is the only set property. If more are added updates are needed here. outfile.write(fulltestname + ';' + str(mld_val)+'\n') Loading
scripts/parse_mld_xml.py +7 −3 Original line number Diff line number Diff line Loading @@ -25,6 +25,10 @@ if __name__ == '__main__': with open(csv_file,'w') as outfile: for testcase in testcases: fulltestname = testcase.get('file') + "::" + testcase.get('name') mld_val = testcase.find('.//property').get('value') if testcase.find('.//skipped') == None: fulltestname = testcase.get('classname') + "::" + testcase.get('name') if testcase.find('.//property') == None: mld_val = None else: mld_val = testcase.find('.//property').get('value') # Currently MLD is the only set property. If more are added updates are needed here. outfile.write(fulltestname + ';' + str(mld_val)+'\n')