dovetail tool: ensure sub_testcase_list and testcase are not None 19/23919/7
authorzshi <zshi@redhat.com>
Thu, 3 Nov 2016 08:46:19 +0000 (16:46 +0800)
committerzshi <zshi@redhat.com>
Tue, 8 Nov 2016 02:05:38 +0000 (10:05 +0800)
commit53fcd0928b67a57ed1025dd4cad3df50ea020642
tree68fd1eba71f5237629bb50c7880bab36180ae627
parent976d8e0640e478c79002f402bbe9996955c02629
dovetail tool: ensure sub_testcase_list and testcase are not None

JIRA: DOVETAIL-52

1) save return value of testcase.sub_testcase() in sub_testcase_list
for multiple calls later
2) ensure sub_testcase_list is not called with None value
3) ensure testcase is not called with None value
4) identify None testcase with 'Undefined' in dovetail_report.txt

Change-Id: Ifcf0c0846dc788575310f29932a4757752f1e3a3
Signed-off-by: zshi <zshi@redhat.com>
dovetail/report.py
dovetail/run.py