{% extends "tasks/view.html" %} {% block additional %} {% if task.status == task.Status.SUCCESS %} {% if 'form_version' in task.ctx and task.ctx['form_version'] >= 0 %} {% if task.ctx['with_test_data'] %}

Tests Results

{% for tests_type, stats in task.ctx['stats'] %} {% for status in task.STATUS_ORDER %} {% endfor %} {% for module_name, class_info in stats.iteritems() %} {% set need_module = True %} {% for class_name, class_stats in class_info.iteritems() %} {% if need_module %} {% set need_module = False %} {% endif %} {% for status in task.STATUS_ORDER %} {% if class_stats[status] == 0 %} {% else %} {% endif %} {% endfor %} {% endfor %} {% endfor %} {% endfor %}
{{ tests_type }}
Test module name Test class name{{ status }}
{{ module_name }}{{ class_name }}{{ class_stats[status] }}{{ class_stats[status] }}
{% else %}

No test data

{% endif %} {% else %}

Too old task

{% endif %} {% endif %} {% endblock %}