mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-28 07:18:29 +01:00
experiments: make dvc exp show more consistent w/viewer (#4489)
* experiments: cleanup show UI * show git tag/branch names instead of SHAs by default * make timestamp formatting more like the viewer * update tests * place timestamps in their own column * update command test * exp: remove unused regex Co-authored-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
co-authored by
Ruslan Kuprieiev
parent
fcbbfac7f8
commit
e2b5ab996f
@@ -37,6 +37,7 @@ def test_experiments_show(dvc, mocker):
|
||||
"--all-tags",
|
||||
"--all-branches",
|
||||
"--all-commits",
|
||||
"--sha",
|
||||
]
|
||||
)
|
||||
assert cli_args.func == CmdExperimentsShow
|
||||
@@ -47,5 +48,9 @@ def test_experiments_show(dvc, mocker):
|
||||
assert cmd.run() == 0
|
||||
|
||||
m.assert_called_once_with(
|
||||
cmd.repo, all_tags=True, all_branches=True, all_commits=True
|
||||
cmd.repo,
|
||||
all_tags=True,
|
||||
all_branches=True,
|
||||
all_commits=True,
|
||||
sha_only=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user