piccoli aggiustamenti template tests, aggiornato cloudscraper

This commit is contained in:
marco
2020-08-15 11:17:59 +02:00
parent 1a5bb28891
commit 8505158a2f
6 changed files with 8060 additions and 13855 deletions

View File

@@ -55,7 +55,7 @@
{%- if (test_case.stdout or test_case.err or test_case.err) and test_case.outcome != test_case.SKIP %}
<tr style="display:none;">
<td class="col-xs-9" colspan="3">
{%- if test_case.stdout %}<p>{{ test_case.stdout|e }}</p>{% endif %}
{%- if test_case.stdout %}<p style="white-space: pre-line;">{{ test_case.stdout|e }}</p>{% endif %}
{%- if test_case.err %}<p style="color:maroon;">{{ test_case.err[0].__name__ }}: {{ test_case.err[1] }}</p>{% endif %}
{%- if test_case.err %}<p style="color:maroon;">{{ test_case.test_exception_info }}</p>{% endif %}
</td>
@@ -64,7 +64,7 @@
{%- if (test_case.stdout or test_case.err or test_case.err) and test_case.outcome == test_case.SKIP %}
<tr style="display:none;">
<td class="col-xs-9" colspan="3">
{%- if test_case.stdout %}<p>{{ test_case.stdout|e }}</p>{% endif %}
{%- if test_case.stdout %}<p style="white-space: pre-line;">{{ test_case.stdout|e }}</p>{% endif %}
{%- if test_case.err %}<p style="color:maroon;">{{ test_case.err }}</p>{% endif %}
</td>
</tr>
@@ -164,6 +164,10 @@
} else {
$(this).show()
}
$(this).find(".btn").each(function(){
$(this).text("View")
});
});
}
$('#showPassed').on('click', function(){