MCPcopy
hub / github.com/treeverse/dvc / test_commit_no_exec_missing_dep

Function test_commit_no_exec_missing_dep

tests/func/test_commit.py:211–216  ·  view source on GitHub ↗
(tmp_dir, dvc)

Source from the content-addressed store, hash-verified

209
210
211def test_commit_no_exec_missing_dep(tmp_dir, dvc):
212 stage = dvc.run(name="my", cmd="mycmd", deps=["dep"], outs=["out"], no_exec=True)
213 assert dvc.status(stage.path)
214
215 with pytest.raises(DependencyDoesNotExistError):
216 dvc.commit(stage.path, force=True)
217
218
219def test_commit_no_exec_missing_out(tmp_dir, dvc):

Callers

nothing calls this directly

Calls 3

runMethod · 0.45
statusMethod · 0.45
commitMethod · 0.45

Tested by

no test coverage detected