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
+2 -2
View File
@@ -201,10 +201,10 @@ def test_diff_no_cache(tmp_dir, scm, dvc):
)
scm.tag("v2")
remove(dvc.cache.local.cache_dir)
remove(dvc.odb.local.cache_dir)
# invalidate_dir_info to force cache loading
dvc.cache.local._dir_info = {}
dvc.odb.local._dir_info = {}
diff = dvc.diff("v1", "v2")
assert diff["added"] == []