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

Function test_init_no_git

tests/func/test_scm.py:17–19  ·  view source on GitHub ↗
(tmp_dir)

Source from the content-addressed store, hash-verified

15
16
17def test_init_no_git(tmp_dir):
18 with pytest.raises(SCMError, match=r".* is not a git repository"):
19 SCM(os.fspath(tmp_dir))
20
21
22def test_init_sub_dir(tmp_dir):

Callers

nothing calls this directly

Calls 2

SCMFunction · 0.90
fspathMethod · 0.45

Tested by

no test coverage detected