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
@@ -101,7 +101,7 @@ def test_not_in_cache(M, tmp_dir, scm, dvc):
# TODO: investigation required, might return wrong results
tmp_dir.dvc_gen({"dir": {"foo": "foo"}}, commit="add dir")
tmp_dir.dvc_gen("bar", "bar", commit="add foo")
remove(dvc.odb.local.cache_dir)
remove(dvc.odb.local.path)
assert dvc.data_status() == {
**EMPTY_STATUS,