iterative/dvc

View on GitHub
dvc/testing/benchmarks/cli/commands/test_ls.py

Summary

Maintainability
A
45 mins
Test Coverage
def test_list(bench_dvc, tmp_dir, scm, dvc, make_dataset, remote):
    make_dataset(cache=False, files=False, dvcfile=True, commit=True, remote=True)
    bench_dvc("list", tmp_dir)
    bench_dvc("list", tmp_dir, "--dvc-only", name="dvc-only")
    bench_dvc("list", tmp_dir, "--recursive", name="recursive")
    bench_dvc("list", tmp_dir, "dataset", name="shallow")