From bf1d7ebe15b07380bf8a6aa8381ecc7463bf0384 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 24 Jun 2026 11:15:43 -0700 Subject: [PATCH] Limit disabled extractor plugin narrowing to version tests --- archivebox/tests/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archivebox/tests/conftest.py b/archivebox/tests/conftest.py index 99fc5313..a7cf0f1a 100644 --- a/archivebox/tests/conftest.py +++ b/archivebox/tests/conftest.py @@ -211,7 +211,6 @@ def run_archivebox_cmd( if disable_extractors: run_env.update( { - "PLUGINS": "__archivebox_test_no_plugins__", "SAVE_ARCHIVEDOTORG": "False", "SAVE_TITLE": "False", "SAVE_FAVICON": "False", @@ -229,6 +228,8 @@ def run_archivebox_cmd( "SAVE_HTMLTOTEXT": "False", }, ) + if args and args[0] == "version": + run_env["PLUGINS"] = "__archivebox_test_no_plugins__" if env: run_env.update(env) _set_test_source_pythonpath(run_env)