{% block module_content scoped %} {% set mi = namespace(matched_items = {}) %} {% for test in tests %}

{% block test_title scoped %} {{ test.status.word }} {% block test_name scoped %} {% set name = test.item.nodeid.split('::')[1:]|join('::') %} {% set funcname, _, params = name.partition('[') %} {{ funcname }} {%- if params -%} [{{ params }}{% endif %} {% set rc = namespace(result_count = 0) %} {% set mii = namespace(matched_items_inner = {}) %} {% for key, value in func_to_point_names.items() %} {% set split_key = key.split(':') %} {% if first_item.nodeid.split('::')|first in split_key[0] and funcname == split_key[1] %} {% set rc.result_count = value|length %} {% set _ = mii.matched_items_inner.update({key: value}) %} {% endif %} {% endfor %} {% set mi.matched_items = mii.matched_items_inner %} {{rc.result_count}} {% endblock %} {{ test.phases|sum('report.duration')|timedelta }} {% endblock %}

{% set matched_groups = mi.matched_items %} {% include "html/test.html" %}
{% endfor %} {% endblock %}