exp-push: show url to the Studio project (#9283)

This commit is contained in:
skshetry
2023-03-30 12:52:09 +05:45
committed by GitHub
parent 780dc72301
commit 696fabc745
3 changed files with 32 additions and 13 deletions
+4 -1
View File
@@ -76,7 +76,10 @@ def test_push_diverged(tmp_dir, scm, dvc, git_upstream, exp_stage):
git_upstream.tmp_dir.scm.set_ref(str(ref_info), remote_rev)
assert dvc.experiments.push(git_upstream.remote, [ref_info.name]) == []
assert dvc.experiments.push(git_upstream.remote, [ref_info.name]) == {
"pushed": [],
"url": None,
}
assert git_upstream.tmp_dir.scm.get_ref(str(ref_info)) == remote_rev
dvc.experiments.push(git_upstream.remote, [ref_info.name], force=True)