mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-23 23:09:44 +01:00
test: use quote instead of shlex.quote
This commit is contained in:
+1
-1
@@ -194,7 +194,7 @@ class TestRunDeterministic(TestDvc):
|
||||
|
||||
command = [
|
||||
'dvc', 'run', '--verbose', '-f', '{}.dvc'.format(target), '-d', 'file1', '-o', target,
|
||||
'python', '-c', shlex.quote("open('{}', 'w').write('hi')").format(target),
|
||||
'python', '-c', quote("open('{}', 'w').write('hi')").format(target),
|
||||
]
|
||||
if deterministic:
|
||||
command.insert(2, '--deterministic')
|
||||
|
||||
Reference in New Issue
Block a user