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

Function test_commit_granular_output_dir

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

Source from the content-addressed store, hash-verified

154
155
156def test_commit_granular_output_dir(tmp_dir, dvc):
157 tmp_dir.gen(
158 {
159 "data": {
160 "foo": "foo",
161 "bar": "bar",
162 "subdir": {"subfoo": "subfoo", "subbar": "subbar"},
163 }
164 }
165 )
166 dvc.add("data", no_commit=True)
167 dvc.commit("data")
168 assert dvc.status() == {}
169
170
171def test_commit_granular_dir(tmp_dir, dvc):

Callers

nothing calls this directly

Calls 4

genMethod · 0.45
addMethod · 0.45
commitMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected