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

Method test_get_url_nonexistent

dvc/testing/workspace_tests.py:308–310  ·  view source on GitHub ↗
(self, cloud)

Source from the content-addressed store, hash-verified

306 assert (tmp_dir / dname / "foo").read_text() == "foo contents"
307
308 def test_get_url_nonexistent(self, cloud):
309 with pytest.raises(URLMissingError):
310 Repo.get_url(str(cloud / "nonexistent"), fs_config=cloud.config)
311
312
313class TestToRemote:

Callers

nothing calls this directly

Calls 1

get_urlMethod · 0.45

Tested by

no test coverage detected