iterative/dvc

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

Summary

Maintainability
A
3 hrs
Test Coverage
import pytest


@pytest.mark.flaky(reruns=3)
def test_import(bench_dvc, tmp_dir, scm, dvc, make_dataset, remote):
    dataset = make_dataset(
        cache=False, files=False, dvcfile=True, commit=True, remote=True
    )
    bench_dvc("import", tmp_dir, dataset.name, "-o", "new")