mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
fix name (#10920)
This commit is contained in:
@@ -119,7 +119,7 @@ def test_show_ascii(repo):
|
||||
def test_show_dot(repo):
|
||||
# dot file rendering is not deterministic though graph
|
||||
# output doesn't depend upon order of lines. Use sorted values
|
||||
# https://github.com/iterative/dvc/pull/7725
|
||||
# https://github.com/treeverse/dvc/pull/7725
|
||||
expected = [
|
||||
"\"stage: '1'\";",
|
||||
"\"stage: '2'\";",
|
||||
|
||||
@@ -214,7 +214,7 @@ def test_read_params_py(tmp_dir, dvc):
|
||||
|
||||
|
||||
def test_params_py_tuple_status(tmp_dir, dvc):
|
||||
"""https://github.com/iterative/dvc/issues/8803"""
|
||||
"""https://github.com/treeverse/dvc/issues/8803"""
|
||||
parameters_file = "parameters.py"
|
||||
tmp_dir.gen(parameters_file, "TUPLE = (10, 100)\n")
|
||||
dep = ParamsDependency(Stage(dvc), parameters_file, ["TUPLE"])
|
||||
|
||||
@@ -42,7 +42,7 @@ def test_save_missing(dvc, mocker):
|
||||
), # hdfs checksum
|
||||
# Not much we can do about hex and oct values without writing our own
|
||||
# parser. So listing these test cases just to acknowledge this.
|
||||
# See https://github.com/iterative/dvc/issues/3331.
|
||||
# See https://github.com/treeverse/dvc/issues/3331.
|
||||
(0x3451, "13393"),
|
||||
(0o1244, "676"),
|
||||
],
|
||||
|
||||
@@ -69,7 +69,7 @@ def session_app(tmp_path_factory) -> FSApp:
|
||||
"""Session scoped experiments queue celery app."""
|
||||
from kombu.transport.filesystem import Channel
|
||||
|
||||
# related to https://github.com/iterative/dvc-task/issues/61
|
||||
# related to https://github.com/treeverse/dvc-task/issues/61
|
||||
Channel.QoS.restore_at_shutdown = False
|
||||
|
||||
from dvc_task.app import FSApp
|
||||
|
||||
@@ -74,7 +74,7 @@ def test_locked(mocker):
|
||||
|
||||
|
||||
def test_skip_graph_checks(tmp_dir, dvc, mocker, run_copy):
|
||||
# See https://github.com/iterative/dvc/issues/2671 for more info
|
||||
# See https://github.com/treeverse/dvc/issues/2671 for more info
|
||||
from dvc.repo.index import Index
|
||||
|
||||
mock_build_graph = mocker.spy(Index.graph, "fget")
|
||||
|
||||
@@ -167,16 +167,16 @@ def test_system_info():
|
||||
@pytest.mark.parametrize(
|
||||
"git_remote",
|
||||
[
|
||||
"git://github.com/iterative/dvc.git",
|
||||
"[email protected]:iterative/dvc.git",
|
||||
"http://github.com/iterative/dvc.git",
|
||||
"https://github.com/iterative/dvc.git",
|
||||
"ssh://[email protected]/iterative/dvc.git",
|
||||
"git://github.com/treeverse/dvc.git",
|
||||
"[email protected]:treeverse/dvc.git",
|
||||
"http://github.com/treeverse/dvc.git",
|
||||
"https://github.com/treeverse/dvc.git",
|
||||
"ssh://[email protected]/treeverse/dvc.git",
|
||||
],
|
||||
)
|
||||
def test_git_remote_hash(mocker, git_remote):
|
||||
m = mocker.patch("dvc.analytics._git_remote_url", return_value=git_remote)
|
||||
expected = hashlib.md5(b"iterative/dvc.git", usedforsecurity=False).hexdigest()
|
||||
expected = hashlib.md5(b"treeverse/dvc.git", usedforsecurity=False).hexdigest()
|
||||
|
||||
assert analytics._git_remote_path_hash(None) == expected
|
||||
m.assert_called_once_with(None)
|
||||
|
||||
@@ -158,14 +158,14 @@ def test_check(mocker, updater):
|
||||
None,
|
||||
(
|
||||
"Find the latest release at "
|
||||
"https://github.com/iterative/dvc/releases/latest."
|
||||
"https://github.com/treeverse/dvc/releases/latest."
|
||||
),
|
||||
),
|
||||
(
|
||||
"unknown",
|
||||
(
|
||||
"Find the latest release at "
|
||||
"https://github.com/iterative/dvc/releases/latest."
|
||||
"https://github.com/treeverse/dvc/releases/latest."
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -46,7 +46,7 @@ def test_notify_refs(mocker, status_code, side_effect):
|
||||
mock_post = mocker.patch("requests.Session.post", return_value=response)
|
||||
|
||||
notify_refs(
|
||||
"[email protected]:iterative/dvc.git",
|
||||
"[email protected]:treeverse/dvc.git",
|
||||
"TOKEN",
|
||||
pushed=["p1", "p2"],
|
||||
removed=["r1", "r2"],
|
||||
@@ -56,7 +56,7 @@ def test_notify_refs(mocker, status_code, side_effect):
|
||||
assert mock_post.call_args == mocker.call(
|
||||
urljoin(STUDIO_URL, "/webhook/dvc"),
|
||||
json={
|
||||
"repo_url": "[email protected]:iterative/dvc.git",
|
||||
"repo_url": "[email protected]:treeverse/dvc.git",
|
||||
"client": "dvc",
|
||||
"refs": {
|
||||
"pushed": ["p1", "p2"],
|
||||
|
||||
Reference in New Issue
Block a user