Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
17
def
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
22
def
test_init_sub_dir(tmp_dir):
Callers
nothing calls this directly
Calls
2
SCM
Function · 0.90
fspath
Method · 0.45
Tested by
no test coverage detected