From f6c60ea5511bb283d381f1c093a0e794beaf9ace Mon Sep 17 00:00:00 2001 From: ASLAN Date: Wed, 5 Mar 2025 13:21:16 +0100 Subject: [PATCH] Removing links column was missing in the example code. Added --- docs/user_guide.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user_guide.rst b/docs/user_guide.rst index 691c86f2..f96ae849 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -218,11 +218,13 @@ adds a sortable time column, and removes the links column: def pytest_html_results_table_header(cells): cells.insert(2, "Description") cells.insert(1, 'Time') + cells.pop() def pytest_html_results_table_row(report, cells): cells.insert(2, f"{report.description}") cells.insert(1, f'{datetime.utcnow()}') + cells.pop() @pytest.hookimpl(hookwrapper=True)