mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-25 23:09:49 +01:00
Windows symlink: wrap tempfile.mkdtemp() to long path func
This commit is contained in:
@@ -5,11 +5,12 @@ from unittest import TestCase
|
||||
|
||||
from dvc import Runtime
|
||||
from dvc.executor import Executor, ExecutorError
|
||||
from dvc.git_wrapper import GitWrapperI
|
||||
|
||||
|
||||
class TestExecutor(TestCase):
|
||||
def setUp(self):
|
||||
self.test_dir = tempfile.mkdtemp()
|
||||
self.test_dir = GitWrapperI.get_long_path(tempfile.mkdtemp())
|
||||
|
||||
self.file1 = 'file1.txt'
|
||||
fd1 = open(os.path.join(self.test_dir, self.file1), 'w+')
|
||||
|
||||
Reference in New Issue
Block a user