Commit 3cbe209b authored by norvell's avatar norvell
Browse files

Fix parse_mld_xml.py to work both for pytest files and single tests

parent 31ef92d3
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -26,7 +26,10 @@ if __name__ == '__main__':
    with open(csv_file,'w') as outfile:
        for testcase in testcases:
            if testcase.find('.//skipped') == None:
                fulltestname = testcase.get('classname') + "::" + testcase.get('name')
                if testcase.get('file') == None:
                    fulltestname = testcase.get('classname').replace('.','/') + ".py::" + testcase.get('name')
                else:
                    fulltestname = testcase.get('file') + "::" + testcase.get('name')
                if testcase.find('.//property') == None:
                    mld_val = None
                else: