summaryrefslogtreecommitdiffstats
path: root/dovetail
diff options
context:
space:
mode:
authorhongbo tian <hongbo.tianhongbo@huawei.com>2017-02-24 07:51:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-24 07:51:43 +0000
commit04a464ac81ac43f536ba73af3666a149c97f8369 (patch)
treeba53552c5258f4765738b2f8a367a76a642700fa /dovetail
parent2bb3fcf3ff3dc78e89c49369fd39339cfe9fd588 (diff)
parent85568afd806e36ff9885b52313b32b70c9693ad0 (diff)
Merge "dovetail tool: bugfix for dovetail report and docker build"
Diffstat (limited to 'dovetail')
-rw-r--r--dovetail/report.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dovetail/report.py b/dovetail/report.py
index a35ec323..d4be67c6 100644
--- a/dovetail/report.py
+++ b/dovetail/report.py
@@ -439,9 +439,9 @@ class YardstickChecker(object):
@staticmethod
def check(testcase, result):
if not result:
- testcase.passed(False)
+ testcase.passed('FAIL')
else:
- testcase.passed(result['criteria'] == 'PASS')
+ testcase.passed(result['criteria'])
return