tcga-downloader/tests/test_download.py
yunpeng.zhang a01a59b371
Some checks failed
CI / Lint (push) Failing after 9m32s
CI / Test (3.11) (push) Successful in 6m41s
CI / Test (3.12) (push) Successful in 4m21s
feat: add interactive cli
2026-02-09 13:13:39 +08:00

20 lines
412 B
Python

from pathlib import Path
from tcga_downloader.download import build_gdc_command
def test_build_gdc_command():
cmd = build_gdc_command(Path("/tmp/m.tsv"), Path("/data"), processes=4, retries=3)
assert cmd == [
"gdc-client",
"download",
"-m",
"/tmp/m.tsv",
"-d",
"/data",
"--n-processes",
"4",
"--retry-amount",
"3",
]