summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/update/templates/changes_in_mongodb.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-09-09 16:50:48 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-09-14 10:53:33 +0800
commitdd9e8643b72497eecdb4c80dc64f161b1562033b (patch)
tree29f8cd29a44ccac033bad571544df7aa3c487618 /utils/test/result_collection_api/update/templates/changes_in_mongodb.py
parent21f8156390bfaba48f8427f5cda8515becf675b3 (diff)
Fix security issues of eval-s in testapi
results from security audit show risks and recommendations to fix them JIRA: RELENG-144 Change-Id: If128cc3ae230150a912b581dfb1ded543d851eb5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/result_collection_api/update/templates/changes_in_mongodb.py')
-rw-r--r--utils/test/result_collection_api/update/templates/changes_in_mongodb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/test/result_collection_api/update/templates/changes_in_mongodb.py b/utils/test/result_collection_api/update/templates/changes_in_mongodb.py
index 9744dd9fe..1a4d5a16f 100644
--- a/utils/test/result_collection_api/update/templates/changes_in_mongodb.py
+++ b/utils/test/result_collection_api/update/templates/changes_in_mongodb.py
@@ -45,6 +45,7 @@ docs_old2New = {
# ({'case_name': 'ovno'}, {'case_name': 'ocl'})
# ]
'results': [
- ({'trust_indicator': 0}, {'trust_indicator': {'current': 0, 'histories': []}})
+ ({'trust_indicator': 0},
+ {'trust_indicator': {'current': 0, 'histories': []}})
]
}