mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-14 11:06:13 +05:00
Limit disabled extractor plugin narrowing to version tests
This commit is contained in:
parent
23d215591e
commit
bf1d7ebe15
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user