summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/functest/template
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-05-31 16:38:58 +0200
committerJose Lausuch <jose.lausuch@ericsson.com>2016-05-31 14:45:47 +0000
commitbbdf9f2a5ce6ef146a872aa0914588df714c1d95 (patch)
treecfce52d6f38e14426668daa74a3fb8a856e3279e /utils/test/reporting/functest/template
parentdd67e264f4b5c01b9b493d215377b15c1a953c4b (diff)
Add Tempest error in Tempest reporting
JIRA: FUNCTEST-150 Change-Id: I0b2a3a38bbbb11a80c761c23c71c2f45a959e477 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test/reporting/functest/template')
-rw-r--r--utils/test/reporting/functest/template/index-tempest-tmpl.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/test/reporting/functest/template/index-tempest-tmpl.html b/utils/test/reporting/functest/template/index-tempest-tmpl.html
index be0b79734..b8260ed3c 100644
--- a/utils/test/reporting/functest/template/index-tempest-tmpl.html
+++ b/utils/test/reporting/functest/template/index-tempest-tmpl.html
@@ -67,14 +67,18 @@
<td>{{item}}</td>
<td>{{result.details[item]}}</td>
<td><span class="glyphicon glyphicon-ok"></td>
- <td>{{result.errors[item]}}</td>
+ {% if item is equalto "Success rate" %}
+ <td>{{result.errors}}</td>
+ {% endif %}
</tr>
{%- else -%}
<tr class="tr-danger">
<td>{{item}}</td>
<td>{{result.details[item]}}</td>
<td><span class="glyphicon glyphicon-remove"></td>
- <td>{{result.errors[item]}}</td>
+ {% if item is equalto "Success rate" %}
+ <td>{{result.errors}}</td>
+ {% endif %}
</tr>
{%- endif %}
{%- endif %}