We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac6d4b4 commit aa9c529Copy full SHA for aa9c529
docs/user_guide.rst
@@ -106,7 +106,7 @@ You can edit the *Summary* section by using the :code:`pytest_html_results_summa
106
107
108
def pytest_html_results_summary(prefix, summary, postfix):
109
- prefix.extend([html.p("foo: bar")])
+ prefix.extend(["<p>foo: bar</p>"])
110
111
Extra content
112
~~~~~~~~~~~~~
@@ -238,7 +238,7 @@ additional HTML and log output with a notice that the log is empty:
238
def pytest_html_results_table_html(report, data):
239
if report.passed:
240
del data[:]
241
- data.append(html.div("No log output captured.", class_="empty log"))
+ data.append("<div class='empty log'>No log output captured.</div>")
242
243
Display options
244
---------------
0 commit comments