mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-07 03:16:01 +10:00
improve plugin tests and config
This commit is contained in:
@@ -21,7 +21,7 @@ import pytest
|
||||
|
||||
|
||||
PLUGIN_DIR = Path(__file__).parent.parent
|
||||
HEADERS_HOOK = PLUGIN_DIR / 'on_Snapshot__33_headers.js'
|
||||
HEADERS_HOOK = next(PLUGIN_DIR.glob('on_Snapshot__*_headers.*'), None)
|
||||
TEST_URL = 'https://example.com'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user