odb: use odb.path instead of odb.cache_dir

This commit is contained in:
Ruslan Kuprieiev
2022-08-03 21:10:28 +03:00
parent ecd98bdf7d
commit fcc7240617
31 changed files with 80 additions and 84 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ def test_diff_no_cache(tmp_dir, scm, dvc):
)
scm.tag("v2")
remove(dvc.odb.local.cache_dir)
remove(dvc.odb.local.path)
# invalidate_dir_info to force cache loading
dvc.odb.local._dir_info = {}