diff options
author | xudan <xudan16@huawei.com> | 2019-08-27 23:26:24 -0400 |
---|---|---|
committer | Dan Xu <xudan16@huawei.com> | 2019-09-02 01:57:51 +0000 |
commit | 6d33ad294d6bc56226c86604cded0b70a6952661 (patch) | |
tree | 15c747ed941712d1476de404c49e463b5aa6365e /dovetail/report.py | |
parent | d15825b04fde0b40df1840ae2ec2fab2ac961471 (diff) |
Add portal_key_file into all test case yml files
Change-Id: If111a8cc56c31ec3e22b090aca92ff56d41f7e01
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/report.py')
-rw-r--r-- | dovetail/report.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dovetail/report.py b/dovetail/report.py index 643f7db2..25c34a29 100644 --- a/dovetail/report.py +++ b/dovetail/report.py @@ -119,6 +119,7 @@ class Report(object): testcase_inreport['objective'] = '' testcase_inreport['sub_testcase'] = [] testcase_inreport['mandatory'] = False + testcase_inreport['portal_key_file'] = '' report_obj['testcases_list'].append(testcase_inreport) continue @@ -132,6 +133,7 @@ class Report(object): report_obj['vnf_type'] = vnf_type report_obj['vnf_checksum'] = self.get_checksum(vnf_type) testcase_inreport['mandatory'] = testcase.is_mandatory + testcase_inreport['portal_key_file'] = testcase.portal_key_file() testcase_inreport['sub_testcase'] = [] if testcase.sub_testcase() is not None: for sub_test in testcase.sub_testcase(): |