From bb3ed403bd30d772eed55144a362d72ee64f2512 Mon Sep 17 00:00:00 2001
From: mac12m99 <10120390+mac12m99@users.noreply.github.com>
Date: Thu, 28 Jan 2021 19:52:04 +0100
Subject: [PATCH] migliorie grafiche al template dei test
---
tests/template.html | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/tests/template.html b/tests/template.html
index 9d931d09..d3c6c647 100644
--- a/tests/template.html
+++ b/tests/template.html
@@ -5,6 +5,13 @@
+
@@ -55,7 +62,9 @@
{%- if (test_case.stdout or test_case.err or test_case.err) and test_case.outcome != test_case.SKIP %}
|
- {%- if test_case.stdout %} {{ test_case.stdout|e }} {% endif %}
+
{%- if test_case.err %}{{ test_case.err[0].__name__ }}: {{ test_case.err[1] }} {% endif %}
|
@@ -63,7 +72,9 @@
{%- if (test_case.stdout or test_case.err or test_case.err) and test_case.outcome == test_case.SKIP %}
|
- {%- if test_case.stdout %} {{ test_case.stdout|e }} {% endif %}
+
{%- if test_case.err %}{{ test_case.err }} {% endif %}
|
@@ -113,8 +124,10 @@
{%- if subtest.err or subtest.err %}
|
- {%- if subtest.err %} {{ subtest.test_exception_info }} {% endif %}
- {%- if subtest.err %}{{ subtest.err[0].__name__ }}: {{ subtest.err[1] }} {% endif %}
+
+ {%- if subtest.err %}{{ subtest.test_exception_info }} {% endif %}
|
{%- endif %}