def resultsHeader(result):
    msg = "RESULTS =================================================\n\n"
    msg += "Number of tests run: " + str(result.testsRun) + "\n"
    msg += "Number of errors: " + str(len(result.errors)) + "\n"
    msg += "Number of failures: " + str(len(result.failures)) + "\n"
    return msg
Generic header for the results in the log file
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/utils/test/TestRunner.py/resultsHeader