diff options
author | xudan <xudan16@huawei.com> | 2019-08-21 06:02:03 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2019-08-27 23:44:31 -0400 |
commit | d15825b04fde0b40df1840ae2ec2fab2ac961471 (patch) | |
tree | 53a4a343f560175e7a7b3760d268daf2394f6064 /dovetail/report.py | |
parent | 14a9a43bf675469486a6991976bef24f3540217b (diff) |
Add validation disabled/enabled to results.json
Change-Id: I918f85c5ac89cf2745efa8513946a2b5ab8638b1
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 864f1165..643f7db2 100644 --- a/dovetail/report.py +++ b/dovetail/report.py @@ -104,6 +104,8 @@ class Report(object): if vnf_type: report_obj['vnf_type'] = vnf_type report_obj['vnf_checksum'] = self.get_checksum(vnf_type) + else: + report_obj['validation'] = os.getenv('validation') report_obj['testcases_list'] = [] if not testcase_list: |