Skip to content
Snippets Groups Projects
Commit 7a36396f authored by Jan Maximilian Michal's avatar Jan Maximilian Michal
Browse files

Output of tests is now displayed instead of pre_corrections

parent aa1a4bb9
No related branches found
No related tags found
1 merge request!3Resolve "New input format"
......@@ -25,9 +25,13 @@
<a data-toggle="collapse" href="#collapse4">
<h5 class="card-header">Custom Feedback</h5>
</a>
<div id="collapse4" class="collapse {% if feedback.of_submission.pre_corrections %}show{% else %}hide{% endif %}" role="tabpanel">
<div id="collapse4" class="collapse show" role="tabpanel">
<div class="card-block m-2">
<div id="pre_corrections" class="editor editor-pre">{{feedback.of_submission.pre_corrections}}</div>
<div id="pre_corrections" class="editor editor-pre">{% for test in feedback.of_submission.tests.all %}
{{test.name}}
{{test.annotation}}
RESULT: {{test.label}}
{% endfor %}</div>
</div>
</div>
</div>
......
......@@ -192,4 +192,4 @@ def processing(highest_test):
if __name__ == '__main__':
testcases_dict = testcases.evaluated_testcases(DESCFILE)
print(json.dumps(processing(LinkTest), sort_keys=True, indent=4))
print(json.dumps(processing(UnitTestTest), sort_keys=True, indent=4))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment