tests: remove single_stage stage runs (#9549)

This commit is contained in:
skshetry
2023-06-06 18:38:07 +05:45
committed by GitHub
parent 2c4365513e
commit 3759535d43
23 changed files with 353 additions and 263 deletions
+2 -3
View File
@@ -84,14 +84,13 @@ def test_commit_preserve_fields(tmp_dir, dvc):
)
@pytest.mark.parametrize("run_kw", [{"single_stage": True}, {"name": "copy"}])
def test_commit_with_deps(tmp_dir, dvc, run_copy, run_kw):
def test_commit_with_deps(tmp_dir, dvc, run_copy):
tmp_dir.gen("foo", "foo")
(foo_stage,) = dvc.add("foo", no_commit=True)
assert foo_stage is not None
assert len(foo_stage.outs) == 1
stage = run_copy("foo", "file", no_commit=True, **run_kw)
stage = run_copy("foo", "file", no_commit=True, name="copy")
assert stage is not None
assert len(stage.outs) == 1