mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
apply: add --no-force deprecation message
This commit is contained in:
committed by
Peter Rowlands (변기호)
parent
d3182e0dd9
commit
e218431f64
@@ -27,7 +27,7 @@ from .test_repro import common_arguments as repro_arguments
|
||||
|
||||
|
||||
def test_experiments_apply(dvc, scm, mocker):
|
||||
cli_args = parse_args(["experiments", "apply", "--no-force", "exp_rev"])
|
||||
cli_args = parse_args(["experiments", "apply", "exp_rev"])
|
||||
assert cli_args.func == CmdExperimentsApply
|
||||
|
||||
cmd = cli_args.func(cli_args)
|
||||
@@ -35,7 +35,7 @@ def test_experiments_apply(dvc, scm, mocker):
|
||||
|
||||
assert cmd.run() == 0
|
||||
|
||||
m.assert_called_once_with(cmd.repo, "exp_rev", force=False)
|
||||
m.assert_called_once_with(cmd.repo, "exp_rev")
|
||||
|
||||
|
||||
def test_experiments_diff(dvc, scm, mocker):
|
||||
|
||||
Reference in New Issue
Block a user