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:
David de la Iglesia Castro
2021-10-18 21:09:02 +03:00
committed by GitHub
parent 7bef6fd64f
commit 4f16852005
8 changed files with 66 additions and 34 deletions
+2
View File
@@ -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",
)
+7 -1
View File
@@ -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,
)