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

Function test_get_key

tests/unit/fs/test_data.py:24–26  ·  view source on GitHub ↗
(tmp_dir, dvc, path, key)

Source from the content-addressed store, hash-verified

22 ],
23)
24def test_get_key(tmp_dir, dvc, path, key):
25 fs = DataFileSystem(index=dvc.index.data["repo"])
26 assert fs.fs._get_key(path) == key
27
28
29def test_exists(tmp_dir, dvc):

Callers

nothing calls this directly

Calls 2

DataFileSystemClass · 0.90
_get_keyMethod · 0.45

Tested by

no test coverage detected