apply: add --no-force deprecation message

This commit is contained in:
Peter Rowlands
2023-02-20 14:36:38 +09:00
committed by Peter Rowlands (변기호)
parent d3182e0dd9
commit e218431f64
2 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -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):