diff options
author | zhifeng.jiang <jiang.zhifeng@zte.com.cn> | 2016-10-07 13:12:39 +0800 |
---|---|---|
committer | zhifeng.jiang <jiang.zhifeng@zte.com.cn> | 2016-10-13 09:28:16 +0800 |
commit | f7b4e61fcc20c5814d9b7ed5ebefbec1b549cd03 (patch) | |
tree | b912b940397d6d570cb4865d7c54b20b41e173e7 /data/ref_results/index_calculation.py | |
parent | 2dda7f90927934bc5738287b2f8960a4d14bb07e (diff) |
Refactor pushing suite result to test db
modification:
remove compute_suite.py,network_suite.py,storage_suite.py
handler all suite result in suite_result.py
refactor pushtoDB.py so that it can be called by qtip_server
JIRA:QTIP-99
Change-Id: I1630a512c22cba7be038f5301f1454b8ef4f762f
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
Diffstat (limited to 'data/ref_results/index_calculation.py')
-rw-r--r-- | data/ref_results/index_calculation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/ref_results/index_calculation.py b/data/ref_results/index_calculation.py index 7dee7497..5ca4a46e 100644 --- a/data/ref_results/index_calculation.py +++ b/data/ref_results/index_calculation.py @@ -13,7 +13,7 @@ def compute_index(total_measured, ref_result, count): def get_reference(*args): - with open('./reference.json') as reference_file: + with open('data/ref_results/reference.json') as reference_file: reference_djson = json.load(reference_file) for arg in args: ref_n = reference_djson.get(str(arg)) |