mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
exp/metrics/params diff: Replaced Old/New with a_rev/b_rev (#6814)
* Replaced Old/New with a_rev/b_rev * Fixed tests
This commit is contained in:
@@ -47,6 +47,8 @@ def test_metrics_diff(dvc, mocker, capsys):
|
||||
precision=5,
|
||||
markdown=True,
|
||||
round_digits=True,
|
||||
a_rev="HEAD~10",
|
||||
b_rev="HEAD~1",
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -56,7 +56,13 @@ def test_params_diff_from_cli(dvc, mocker):
|
||||
deps=False,
|
||||
)
|
||||
show_diff_mock.assert_called_once_with(
|
||||
{}, title="Param", markdown=False, no_path=False, show_changes=False
|
||||
{},
|
||||
title="Param",
|
||||
markdown=False,
|
||||
no_path=False,
|
||||
show_changes=False,
|
||||
a_rev=None,
|
||||
b_rev=None,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user