utils.studio: require token (#9255)

This is a simple refactoring which makes the caller to choose appropriate token instead of
the studio.notify_refs making a decision for them.
This commit is contained in:
skshetry
2023-03-28 13:32:05 +05:45
committed by GitHub
parent faa1bdfbce
commit cc4816f652
3 changed files with 31 additions and 23 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ def test_notify_refs(mocker, status_code):
notify_refs(
"[email protected]:iterative/dvc.git",
default_token="TOKEN",
"TOKEN",
pushed=["p1", "p2"],
removed=["r1", "r2"],
)