mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
use git remote to find out remote repo url when pinging Studio (#9254)
This commit is contained in:
@@ -21,9 +21,8 @@ def test_notify_refs(mocker, status_code):
|
||||
mock_post = mocker.patch("requests.Session.post", return_value=response)
|
||||
|
||||
notify_refs(
|
||||
"origin",
|
||||
"TOKEN",
|
||||
repo_url_finder=lambda: "[email protected]:iterative/dvc.git",
|
||||
"[email protected]:iterative/dvc.git",
|
||||
default_token="TOKEN",
|
||||
pushed=["p1", "p2"],
|
||||
removed=["r1", "r2"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user