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

{{ title|default('Test Report') }}

{% endblock %} {% block content %}
{% block summary %}
{% include "html1/chart.svg" %}
{% endblock %}
    {% for fspath, tests in test_runs|groupby('item.fspath') %} {% set item = tests|map(attribute='item.parent')|first %}
  1. {{ fspath|replace(config.rootdir, '')|replace('\\', '/') }}
    {% for test in tests -%} {% for phase in test.phases if phase.status.letter -%} {{ phase.status.letter }} {%- endfor %} {%- endfor %}
    {% block module scoped %} {% include "html1/module.html" %} {% endblock %}
    {# {{ test.word }} {{ test.item.nodeid }} {{ test.phases|map(attribute='call.start')|first|datetime|strftime('%H:%M:%S.%f') }} {{ test.phases|sum('report.duration')|round(1) }}s {% for phase in test.phases %}
  2. {{ phase.report.when|title }}

    {{ phase.word }}
    {{ phase.call.start|datetime|strftime('%H:%M:%S.%f') }}
    {{ phase.report.longrepr }}
      {% for record in phase.log_records %}
    1. {{ record.message }}
    2. {% endfor %}
    {% for section, content in phase.report.sections %}

    {{ section }}

    {{ content }}
    {% endfor %}
  3. {% endfor %} #} {% endfor %}
{% endblock %}