exp apply: force apply by default (#5360)

* exp apply: force apply by default

* update tests
This commit is contained in:
Peter Rowlands (변기호)
2021-02-02 11:07:19 +09:00
committed by GitHub
parent 8205c84077
commit 2ea5ef07dd
7 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ from .test_repro import default_arguments as repro_arguments
def test_experiments_apply(dvc, scm, mocker):
cli_args = parse_args(["experiments", "apply", "--force", "exp_rev"])
cli_args = parse_args(["experiments", "apply", "--no-force", "exp_rev"])
assert cli_args.func == CmdExperimentsApply
cmd = cli_args.func(cli_args)
@@ -26,7 +26,7 @@ def test_experiments_apply(dvc, scm, mocker):
assert cmd.run() == 0
m.assert_called_once_with(cmd.repo, "exp_rev", force=True)
m.assert_called_once_with(cmd.repo, "exp_rev", force=False)
def test_experiments_diff(dvc, scm, mocker):