diff --git a/docs/user_guide.rst b/docs/user_guide.rst index 691c86f..f96ae84 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)