tests/repo: old params in is_dvc_internal

This commit is contained in:
Mr. Outis
2019-12-17 12:03:35 -06:00
parent a83e440b32
commit 1bd66fa859
+4 -4
View File
@@ -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"))