feat: Enable --depth flag (still does nothing)

This commit is contained in:
Cristian 2020-07-07 09:10:36 -05:00
parent d5fc13b34e
commit 8b22a2a7dd
2 changed files with 14 additions and 6 deletions

View file

@ -0,0 +1,7 @@
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')