Skip to content

Commit 0de183d

Browse files
author
Mr. Outis
committed
tests/repo: reload cache properly
1 parent 5194543 commit 0de183d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/func/test_repo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import os
22

3+
from dvc.cache import Cache
34
from dvc.repo import Repo
45
from dvc.system import System
56
from dvc.utils.compat import fspath
67

78

89
def test_destroy(tmp_dir, dvc):
910
dvc.config.set("cache", "type", "symlink")
11+
dvc.cache = Cache(dvc)
1012

1113
tmp_dir.dvc_gen("file", "text")
1214
tmp_dir.dvc_gen({"dir": {"file": "lorem", "subdir/file": "ipsum"}})

0 commit comments

Comments
 (0)