Skip to content

Commit

Permalink
fix(unity): remove [dut-X] prefix from "line" and "file" attribute va…
Browse files Browse the repository at this point in the history
…lues in XML report
  • Loading branch information
alekseiapa committed Nov 29, 2024
1 parent 58cfd66 commit 655e07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytest-embedded-idf/pytest_embedded_idf/unity_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,9 +787,9 @@ def get_merge_data(test_cases_attr: t.List[t.Dict]) -> t.Dict:
continue

if k not in output:
output[k] = [f'[dut-{ind}]: {val}']
output[k] = [val]
else:
output[k].append(f'[dut-{ind}]: {val}')
output[k].append(val)

for k, val in output.items():
if k in ('file', 'line'):
Expand Down

0 comments on commit 655e07f

Please sign in to comment.