piccoli aggiustamenti template tests, aggiornato cloudscraper
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user