mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
TestCmdCacheDir: roll back darwin skip (#4673)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import os
|
||||
import platform
|
||||
import stat
|
||||
|
||||
import configobj
|
||||
@@ -164,12 +163,8 @@ class TestCmdCacheDir(TestDvc):
|
||||
config = configobj.ConfigObj(self.dvc.config.files["repo"])
|
||||
self.assertEqual(config["cache"]["dir"], dname.replace("\\", "/"))
|
||||
|
||||
@pytest.mark.skipif(
|
||||
platform.system() == "Darwin",
|
||||
reason="https://github.com/iterative/dvc/issues/4418",
|
||||
)
|
||||
def test_relative_path(self):
|
||||
tmpdir = self.mkdtemp()
|
||||
tmpdir = os.path.realpath(self.mkdtemp())
|
||||
dname = relpath(tmpdir)
|
||||
ret = main(["cache", "dir", dname])
|
||||
self.assertEqual(ret, 0)
|
||||
|
||||
Reference in New Issue
Block a user