From f490a02d4bf5297f9ebf688b0c34ca6282946499 Mon Sep 17 00:00:00 2001 From: qdewaghe Date: Mon, 9 Jun 2025 23:06:24 +0200 Subject: [PATCH] Give a name to the Report plugin to allow other plugins to deactivate it easily. --- src/pytest_html/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pytest_html/plugin.py b/src/pytest_html/plugin.py index 949a6ffa..25489325 100644 --- a/src/pytest_html/plugin.py +++ b/src/pytest_html/plugin.py @@ -114,7 +114,7 @@ def pytest_configure(config): else: html = Report(html_path, config, report_data, template, processed_css) - config.pluginmanager.register(html) + config.pluginmanager.register(html, "html_report") def pytest_unconfigure(config):