Skip to content

Commit f490a02

Browse files
author
qdewaghe
committed
Give a name to the Report plugin to allow other plugins to deactivate it easily.
1 parent 9935a4e commit f490a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_html/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def pytest_configure(config):
114114
else:
115115
html = Report(html_path, config, report_data, template, processed_css)
116116

117-
config.pluginmanager.register(html)
117+
config.pluginmanager.register(html, "html_report")
118118

119119

120120
def pytest_unconfigure(config):

0 commit comments

Comments
 (0)