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

Function test_init_git

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

Source from the content-addressed store, hash-verified

10
11
12def test_init_git(tmp_dir):
13 Git.init(os.fspath(tmp_dir))
14 assert isinstance(SCM(os.fspath(tmp_dir)), Git)
15
16
17def test_init_no_git(tmp_dir):

Callers

nothing calls this directly

Calls 3

SCMFunction · 0.90
initMethod · 0.45
fspathMethod · 0.45

Tested by

no test coverage detected