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

Function test_upper_case_remote

tests/func/test_remote.py:132–141  ·  view source on GitHub ↗
(tmp_dir, dvc, local_cloud)

Source from the content-addressed store, hash-verified

130
131
132def test_upper_case_remote(tmp_dir, dvc, local_cloud):
133 remote_name = "UPPERCASEREMOTE"
134
135 tmp_dir.gen("foo", "foo")
136
137 ret = main(["remote", "add", remote_name, local_cloud.url])
138 assert ret == 0
139
140 ret = main(["push", "-r", remote_name])
141 assert ret == 0
142
143
144def test_dir_hash_should_be_key_order_agnostic(tmp_dir, dvc, mocker):

Callers

nothing calls this directly

Calls 2

mainFunction · 0.90
genMethod · 0.45

Tested by

no test coverage detected