Remove obsolete background hook convention

This commit is contained in:
Nick Sweeting 2026-09-01 12:47:46 -07:00
parent a6eb9b240e
commit 376273270a
No known key found for this signature in database

View File

@ -73,11 +73,6 @@ class TestBackgroundHookDetection:
assert any(hook.name == "on_Snapshot__35_wget.finite.bg.py" for hook in background_hooks)
assert any(hook.name == "on_Snapshot__93_hashes.py" for hook in foreground_hooks)
def test_legacy_background_marker_remains_supported_for_user_plugins(self):
from archivebox.plugins.hooks import is_background_hook
assert is_background_hook("on_Snapshot__50_custom__background.py") is True
@pytest.mark.django_db(transaction=True)
class TestJSONLParsing: