{{ test.item.function.__doc__|cleandoc|rst|safe }}
{% endif %}
Started | {{ test.phases|map(attribute='call.start')|first|strftime('%Y-%m-%d %H:%M:%S') }} |
Ended | {{ test.phases|map(attribute='call.stop')|list|last|strftime('%Y-%m-%d %H:%M:%S') }} |
Duration | {{ test.phases|map(attribute='report.duration')|sum|timedelta }} |
Markers |
{% for marker in markers %}
{{ marker.name }}
{% for value in marker.args %}
{{ value|repr }}
{% endfor %}
{% for key, value in marker.kwargs.items() %}
{{ key }}={{ value|repr }}
{% endfor %}
{% endfor %}
|
Fixtures |
{% for fixturename in test.item.fixturenames if not fixturename.startswith('_') %}
{{ fixturename }}
{% endfor %}
|
{{ phase.report.longrepr }}
{% set ns = namespace(used_sections=[]) %}
{% for phase in test.phases %}
{% set sections = phase.report.sections|rejectattr(0, 'in', ns.used_sections)|list %}
{% endfor %}
{% endblock %}
{{ phase.report.when|title }}
{% for section, content in sections %}
{% set ns.used_sections = ns.used_sections + [section] %}
{% endfor %}
{{ section }}
{{ content|escape|replace('\r\n', '\n')|ansi|safe }}