MCPcopy
hub / github.com/treeverse/dvc / test_remote_overwrite

Function test_remote_overwrite

tests/func/test_remote.py:44–49  ·  view source on GitHub ↗
(dvc)

Source from the content-addressed store, hash-verified

42
43
44def test_remote_overwrite(dvc):
45 remote_name = "a"
46 remote_url = "s3://bucket/name"
47 assert main(["remote", "add", remote_name, remote_url]) == 0
48 assert main(["remote", "add", remote_name, remote_url]) == 251
49 assert main(["remote", "add", "-f", remote_name, remote_url]) == 0
50
51
52def test_referencing_other_remotes(dvc):

Callers

nothing calls this directly

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected