Skip to content

Commit e3856b5

Browse files
committed
fix(unity): remove [dut-X] prefix from "line" and "file" attribute values in XML report
1 parent e2f7bf7 commit e3856b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest-embedded-idf/pytest_embedded_idf/unity_tester.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,9 +787,9 @@ def get_merge_data(test_cases_attr: t.List[t.Dict]) -> t.Dict:
787787
continue
788788

789789
if k not in output:
790-
output[k] = [f'[dut-{ind}]: {val}']
790+
output[k] = [val]
791791
else:
792-
output[k].append(f'[dut-{ind}]: {val}')
792+
output[k].append(val)
793793

794794
for k, val in output.items():
795795
if k in ('file', 'line'):

0 commit comments

Comments
 (0)