summaryrefslogtreecommitdiffstats
path: root/dovetail/testcase.py
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2017-02-08 02:52:27 -0500
committerMatthewLi <matthew.lijun@huawei.com>2017-02-17 01:39:13 -0500
commit931942e3719dda8a269acb63f320146d7327fdd6 (patch)
treefe2b6b8029c1ae4aba51478ce9205b7c6961ea1a /dovetail/testcase.py
parent29500fcfd71ae240dd9258378328483f02f916eb (diff)
dovetail tool: skip testcase status added
JIRA: DOVETAIL-344 1) testcase status, True/False --> PASS/SKIP/FAIL, so skipped testcase in tempest can be figured out details can be seen in https://etherpad.opnfv.org/p/dovetail_report 2) some variable name changed more readable, such as passed-->testcase_passed failed--> prepare_failed 3) "dovetail report" minor amend according to 1) Change-Id: Ibe8e50693fc474d78e7d0fb89257f34703248579 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'dovetail/testcase.py')
-rw-r--r--dovetail/testcase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovetail/testcase.py b/dovetail/testcase.py
index 4ad2b361..aeeeee68 100644
--- a/dovetail/testcase.py
+++ b/dovetail/testcase.py
@@ -23,7 +23,7 @@ class Testcase(object):
def __init__(self, testcase_yaml):
self.testcase = testcase_yaml.values()[0]
- self.testcase['passed'] = False
+ self.testcase['passed'] = 'FAIL'
self.cmds = []
self.sub_testcase_status = {}
self.update_validate_testcase(self.validate_testcase())