tests: import: check that dvcfs is using main repo's cache (#9417)

Followup for https://github.com/iterative/dvc/pull/9415
This commit is contained in:
Ruslan Kuprieiev
2023-05-08 00:34:00 +03:00
committed by GitHub
parent 967dd5ea2b
commit 6b6084a848
+1
View File
@@ -28,6 +28,7 @@ def test_import(tmp_dir, scm, dvc, erepo_dir):
"url": os.fspath(erepo_dir),
"rev_lock": erepo_dir.scm.get_rev(),
}
assert stage.deps[0].fs.repo.cache.local.path == dvc.cache.local.path
@pytest.mark.parametrize("src_is_dvc", [True, False])