Skip to content

Commit 1eb856c

Browse files
resolved copilot suggested comments
1 parent 1e977f3 commit 1eb856c

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

tests/e2e-test/tests/conftest.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff 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-
5443
log_streams = {}
5544

5645

@@ -198,14 +187,3 @@ def rename_duration_column():
198187

199188
# Register this function to run after everything is done
200189
atexit.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

0 commit comments

Comments
 (0)