mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-02 15:28:29 +01:00
run: remove deprecated --cwd (#3623)
It has been deprecated for a long time now and it significantly complicates the code, hiding multiple bugs.
This commit is contained in:
@@ -18,8 +18,6 @@ def test_run(mocker, dvc):
|
||||
"metrics-no-cache",
|
||||
"--file",
|
||||
"file",
|
||||
"--cwd",
|
||||
"cwd",
|
||||
"--wdir",
|
||||
"wdir",
|
||||
"--no-exec",
|
||||
@@ -57,7 +55,6 @@ def test_run(mocker, dvc):
|
||||
outs_persist_no_cache=["outs-persist-no-cache"],
|
||||
params=["file:param1,param2", "param3"],
|
||||
fname="file",
|
||||
cwd="cwd",
|
||||
wdir="wdir",
|
||||
no_exec=True,
|
||||
overwrite=True,
|
||||
@@ -84,7 +81,6 @@ def test_run_args_from_cli(mocker, dvc):
|
||||
outs_persist_no_cache=[],
|
||||
params=[],
|
||||
fname=None,
|
||||
cwd=None,
|
||||
wdir=None,
|
||||
no_exec=False,
|
||||
overwrite=False,
|
||||
@@ -111,7 +107,6 @@ def test_run_args_with_spaces(mocker, dvc):
|
||||
outs_persist_no_cache=[],
|
||||
params=[],
|
||||
fname=None,
|
||||
cwd=None,
|
||||
wdir=None,
|
||||
no_exec=False,
|
||||
overwrite=False,
|
||||
|
||||
Reference in New Issue
Block a user