From 43a417cb9f6e491c7e5283fa3c7bd2c729f647ce Mon Sep 17 00:00:00 2001 From: Aleksei Apaseev Date: Thu, 28 Nov 2024 15:00:58 +0800 Subject: [PATCH] fix: remove [dut-X] prefix from "line" and "file" attribute values in XML report --- pytest-embedded-idf/pytest_embedded_idf/unity_tester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest-embedded-idf/pytest_embedded_idf/unity_tester.py b/pytest-embedded-idf/pytest_embedded_idf/unity_tester.py index fcfef146..c5074d19 100644 --- a/pytest-embedded-idf/pytest_embedded_idf/unity_tester.py +++ b/pytest-embedded-idf/pytest_embedded_idf/unity_tester.py @@ -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'):