From 1bd66fa85905724ae7c0421b89d69478db529d51 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Tue, 17 Dec 2019 12:03:35 -0600 Subject: [PATCH] tests/repo: old params in is_dvc_internal --- tests/unit/test_repo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/test_repo.py b/tests/unit/test_repo.py index f21c5a0f0..0d7577bd4 100644 --- a/tests/unit/test_repo.py +++ b/tests/unit/test_repo.py @@ -1,6 +1,6 @@ -from dvc.utils.compat import fspath +import os -def test_is_dvc_internal(tmp_dir, dvc): - assert dvc.is_dvc_internal(fspath(tmp_dir / ".dvc" / "file")) - assert not dvc.is_dvc_internal("file") +def test_is_dvc_internal(dvc): + assert dvc.is_dvc_internal(os.path.join("path", "to", ".dvc", "file")) + assert not dvc.is_dvc_internal(os.path.join("path", "to-non-.dvc", "file"))