dvc: rename cache -> odb (#5481)

This commit is contained in:
Ruslan Kuprieiev
2021-02-16 22:49:25 +02:00
committed by GitHub
parent a814a49181
commit e0842ce01e
53 changed files with 308 additions and 331 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def test_find_outs_by_path_does_graph_checks(tmp_dir, dvc):
[os.path.join("dir", "subdir", "file"), os.path.join("dir", "subdir")],
)
def test_used_cache(tmp_dir, dvc, path):
from dvc.cache import NamedCache
from dvc.objects.db import NamedCache
tmp_dir.dvc_gen({"dir": {"subdir": {"file": "file"}, "other": "other"}})
expected = NamedCache.make(