mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
7 lines
No EOL
295 B
Python
7 lines
No EOL
295 B
Python
import subprocess
|
|
|
|
from .fixtures import *
|
|
|
|
def test_depth_flag_is_accepted(tmp_path, process):
|
|
arg_process = subprocess.run(["archivebox", "add", "https://example.com", "--depth=0"], capture_output=True)
|
|
assert 'unrecognized arguments: --depth' not in arg_process.stderr.decode('utf-8') |