My test produces log output using the logging module. In the HTML report, the output lines repeat, and the repetition increases for the number of tests run.
e.g
first test:
---------------------------- Captured stderr setup -----------------------------
2025-02-06 10:26:49,996 - test - DEBUG - Something
2025-02-06 10:26:49,996 - test - DEBUG - Something else
second test
---------------------------- Captured stderr setup -----------------------------
2025-02-06 10:26:49,996 - test - DEBUG - Something
2025-02-06 10:26:49,996 - test - DEBUG - Something
2025-02-06 10:26:49,996 - test - DEBUG - Something else
2025-02-06 10:26:49,996 - test - DEBUG - Something else
using pytest-html>=4.1.1
My test produces log output using the logging module. In the HTML report, the output lines repeat, and the repetition increases for the number of tests run.
e.g
first test:
second test
using
pytest-html>=4.1.1