{% extends "html1/base.html" %} {% block content %}

Summary

{% block summary %}
{% set tests_by_category = tests|groupby('status.category') %} {% set nodes_run = tests|map(attribute='item.nodeid')|list %} {% set nof_nodes_not_run = session.items|rejectattr('nodeid', 'in', nodes_run)|list|count %} {% set ns = namespace(sum=0.0) %} {% set total = tests|count %} {% set r = 16 %} {% set spacing = 0.4 %} {% set C = 2 * 3.141592653589793 * r %} {% for category, sub_tests in tests_by_category %} {% set count = sub_tests|count %} {% set L = count / (total + nof_nodes_not_run) * C %} {% set color = colors[category] %} {% set ns.sum = ns.sum + L %} {% endfor %} {{ total }}
{% for category, tests in tests_by_category %} {{ tests|count }} {{ category }} {% endfor %} {% if nof_nodes_not_run %} {{ nof_nodes_not_run }} not run {% endif %}
{% endblock %}
{% if warnings %}
{% block warnings %}

Warnings

Warnings {{ warnings|count }}

    {% for warning in warnings %}
  • {{ warning.category.__name__ }} {{ warning.message }}
    {{ warning.filename }}:{{ warning.lineno }}
  • {% endfor %}
{% endblock %}
{% endif %}

Tests

{% for fspath, tests in tests|groupby('item.fspath') %} {% set first_item = tests|map(attribute='item')|first %}

{% block module_title scoped %} {% block module_name scoped %} {{ first_item.nodeid.split('::')|first }} {% endblock %} {% for category, tests in tests|groupby('status.category') -%} {{ tests|count }} {%- endfor %} {{ tests|map(attribute='phases')|map('sum', 'report.duration')|sum|timedelta }} {% endblock %}

{% include "html1/module.html" %}
{% endfor %}
{% endblock %}