File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,17 +40,6 @@ def pytest_html_report_title(report):
4040 report .title = "CodeMod_Smoke_test_Automation"
4141
4242
43- # Add a column for descriptions
44- # def pytest_html_results_table_header(cells):
45- # cells.insert(1, html.th("Description"))
46-
47-
48- # def pytest_html_results_table_row(report, cells):
49- # cells.insert(
50- # 1, html.td(report.description if hasattr(report, "description") else "")
51- # )
52-
53-
5443log_streams = {}
5544
5645
@@ -198,14 +187,3 @@ def rename_duration_column():
198187
199188# Register this function to run after everything is done
200189atexit .register (rename_duration_column )
201-
202-
203- # Add logs and docstring to report
204- # @pytest.hookimpl(hookwrapper=True)
205- # def pytest_runtest_makereport(item, call):
206- # outcome = yield
207- # report = outcome.get_result()
208- # report.description = str(item.function.__doc__)
209- # os.makedirs("logs", exist_ok=True)
210- # extra = getattr(report, "extra", [])
211- # report.extra = extra
You can’t perform that action at this time.
0 commit comments