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

Function test_show_default

tests/func/test_remote.py:110–115  ·  view source on GitHub ↗
(dvc, capsys)

Source from the content-addressed store, hash-verified

108
109
110def test_show_default(dvc, capsys):
111 assert main(["remote", "add", "foo", "s3://bucket/name"]) == 0
112 assert main(["remote", "default", "foo"]) == 0
113 assert main(["remote", "default"]) == 0
114 out, _ = capsys.readouterr()
115 assert out == "foo\n"
116
117
118def test_list_shows_default(dvc, capsys):

Callers

nothing calls this directly

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected