mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
Remove obsolete background hook convention
This commit is contained in:
parent
a6eb9b240e
commit
376273270a
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user