mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gary_williams
31.58.2008 2593b35e67ae3801bac91a18169bd53f85b80565
Issue 851: log archiving, reporting and results collection more fixes
1 files modified
8 ■■■■ changed files
opends/tests/staf-tests/shared/functions/utils.xml 8 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/functions/utils.xml
@@ -1157,8 +1157,12 @@
        logs = doc.createElement("logs")
        qa.appendChild(logs)
        # Pass only the pretty print of the test suite name
        suite=CurrentTestPath['suite'].split('.')[2].strip()
        # Try to pass only the pretty print of the test suite name
        try:
          suite=CurrentTestPath['suite'].split('.')[2].strip()
        except:
          formattedTestcase  = format_testcase()
          suite = formattedTestcase.suite(CurrentTestPath['suite'])
        # Create the log element
        log = doc.createElement("log")