diff options
author | Jun Li <lijun_1203@126.com> | 2017-10-13 08:10:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-10-13 08:10:06 +0000 |
commit | 1c14fcf6395334e3f01acd9128e270af72c33cf2 (patch) | |
tree | 20b814b75bea772b683e5266202cb9476befbb47 /utils | |
parent | 0e543cc6e5d46ad82748edc32678c1701d8fe7fe (diff) | |
parent | c04dcd8e0124347cfd699def6d6292945fa5943c (diff) |
Merge "Change criteria 'SUCCESS' to 'PASS' in yardstick reporting"
Diffstat (limited to 'utils')
-rw-r--r-- | utils/test/reporting/reporting/utils/reporting_utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/test/reporting/reporting/utils/reporting_utils.py b/utils/test/reporting/reporting/utils/reporting_utils.py index 6c0d5a23f..65267ca11 100644 --- a/utils/test/reporting/reporting/utils/reporting_utils.py +++ b/utils/test/reporting/reporting/utils/reporting_utils.py @@ -186,7 +186,6 @@ def getScenarioStats(scenario_results): def getScenarioStatus(installer, version): """ Get the status of a scenariofor Yardstick - they used criteria SUCCESS (default: PASS) """ period = get_config('general.period') url_base = get_config('testapi.url') @@ -228,7 +227,7 @@ def getScenarioStatus(installer, version): # scenario_results[k] = v[:LASTEST_TESTS] s_list = [] for element in scen_v: - if element['criteria'] == 'SUCCESS': + if element['criteria'] == 'PASS': s_list.append(1) else: s_list.append(0) |