Filter labels in results collection

This commit is contained in:
Maxime Gimeno 2020-10-28 10:16:03 +01:00
parent 8375ef1c11
commit 24559f0127
1 changed files with 4 additions and 3 deletions

View File

@ -71,6 +71,7 @@ tests_per_label = defaultdict(list)
for t_id in range(0, len(tests)):
t = tests[t_id]
for l in t['Labels']:
if "_Tests" in l or "_Examples" in l or "_Demo" in l:
label = l.replace("_Tests","")
labels.add(label)
tests_per_label[label].append(t)