mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-06-21 19:10:45 -04:00
19 lines
486 B
Python
19 lines
486 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Tests for archivebox process command.
|
|
|
|
TODO: expand beyond command discovery into list/filter behavior.
|
|
"""
|
|
|
|
from archivebox.tests.conftest import run_archivebox_cmd
|
|
|
|
|
|
def test_process_help_runs_successfully(tmp_path):
|
|
"""The process command should be registered and expose help."""
|
|
|
|
result = run_archivebox_cmd(["process", "--help"])
|
|
|
|
assert result.returncode == 0
|
|
assert "process" in result.stdout.lower()
|
|
assert "list" in result.stdout
|