dashboard: Fix for parametrized tests

This commit is contained in:
Valentin Lorentz 2024-04-19 15:16:36 +02:00
parent ce51dddc15
commit d3c919e0f5

View File

@ -249,7 +249,11 @@ def build_test_table(
HTML.th(
HTML.details(
HTML.summary(HTML.a(test_name, href=f"#{row_anchor}")),
docstring(getattr(getattr(module, class_name), test_name)),
docstring(
getattr(
getattr(module, class_name), test_name.split("[")[0]
)
),
),
class_="test-name",
),