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

Function test_commit_no_exec_missing_out

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

Source from the content-addressed store, hash-verified

217
218
219def test_commit_no_exec_missing_out(tmp_dir, dvc):
220 stage = dvc.run(name="my", cmd="mycmd", outs=["out"], no_exec=True)
221 assert dvc.status(stage.path)
222
223 with pytest.raises(OutputDoesNotExistError):
224 dvc.commit(stage.path, force=True)
225
226
227def test_commit_pipeline_stage(tmp_dir, dvc, run_copy):

Callers

nothing calls this directly

Calls 3

runMethod · 0.45
statusMethod · 0.45
commitMethod · 0.45

Tested by

no test coverage detected