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

Function test_info_git_only_dirs

tests/unit/fs/test_dvc_info.py:88–94  ·  view source on GitHub ↗
(dvcfs, path)

Source from the content-addressed store, hash-verified

86
87@pytest.mark.parametrize("path", ["src", "src/utils"])
88def test_info_git_only_dirs(dvcfs, path):
89 info = dvcfs.info(path)
90
91 assert info["repo"].root_dir == dvcfs.repo.root_dir
92 assert "dvc_info" not in info
93 assert info["type"] == "directory"
94 assert not info["isexec"]
95
96
97@pytest.mark.parametrize("path", [".", "models"])

Callers

nothing calls this directly

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected