From 6b6084a84829ba90b740a1cb18ed897d96fcc3af Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 8 May 2023 00:34:00 +0300 Subject: [PATCH] tests: import: check that dvcfs is using main repo's cache (#9417) Followup for https://github.com/iterative/dvc/pull/9415 --- tests/func/test_import.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/func/test_import.py b/tests/func/test_import.py index dbf252d948..ab18ac799b 100644 --- a/tests/func/test_import.py +++ b/tests/func/test_import.py @@ -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])