summaryrefslogtreecommitdiffstats
path: root/data/ref_results/index_calculation.py
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-09-23 11:38:35 +0800
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-09-25 10:56:22 +0800
commit2b172eef7185382ed4283d1868896626ae3ef5f1 (patch)
tree7242ad699db6876264c9ac60f36763cc47f04ad1 /data/ref_results/index_calculation.py
parentc806bbde071596f204782e7182a65173798ad3ca (diff)
Change result keys to lower-case and remove ' .'
QTIP-93 Change-Id: I125163e05b49d9631838e89571d59a967252292e 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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/ref_results/index_calculation.py b/data/ref_results/index_calculation.py
index e3c75350..7dee7497 100644
--- a/data/ref_results/index_calculation.py
+++ b/data/ref_results/index_calculation.py
@@ -28,7 +28,7 @@ def generic_index(dict_gen, testcase, reference_num, *args):
result = 0
for k, v in dict_gen.iteritems():
dict_temp = dict_gen[k]
- if dict_gen[k]['1 Testcase Name'] == str(testcase):
+ if dict_gen[k]['name'] == str(testcase):
count = count + 1
for arg in args:
if arg == args[c - 1]: