mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-14 11:06:13 +05:00
Resolve discovered hook filenames in process tests
This commit is contained in:
parent
0105ce343e
commit
7ff9dba67b
@ -24,7 +24,7 @@ def _snapshot_hook_name(plugin_name: str) -> str:
|
||||
assert plugin is not None, f"missing test plugin {plugin_name}"
|
||||
hooks = plugin.filter_hooks("Snapshot")
|
||||
assert hooks, f"missing Snapshot hooks for {plugin_name}"
|
||||
return hooks[0].name
|
||||
return hooks[0].path.name
|
||||
|
||||
|
||||
def _cleanup_machine_process_rows() -> None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user