Skip to content

Commit 36cad4b

Browse files
tests(func): replace param to some other key in old tests
1 parent 14896b7 commit 36cad4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/func/test_repo_index.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ def sort_fn(output):
5050

5151
def test_deps_outs_getters(tmp_dir, dvc, run_copy_metrics):
5252
(foo_stage,) = tmp_dir.dvc_gen({"foo": "foo"})
53-
tmp_dir.gen({"params.yaml": "param: 100\n"})
53+
tmp_dir.gen({"params.yaml": "threshold: 100\n"})
5454
tmp_dir.gen({"m_temp.yaml": str(5)})
5555

5656
run_stage1 = run_copy_metrics(
5757
"m_temp.yaml",
5858
"m.yaml",
5959
metrics=["m.yaml"],
60-
params=["param"],
60+
params=["threshold"],
6161
name="copy-metrics",
6262
)
6363
(tmp_dir / "metric_t.json").dump_json(

0 commit comments

Comments
 (0)