MCPcopy Create free account
hub / github.com/Persper/code-analytics / g

Function g

test/test_graphs/test_callcommitgraph.py:11–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10@pytest.fixture(scope='module')
11def g():
12 # build the repo first if not exists yet
13 repo_path = os.path.join(root_path, 'repos/test_feature_branch')
14 script_path = os.path.join(root_path, 'tools/repo_creater/create_repo.py')
15 test_src_path = os.path.join(root_path, 'test/test_feature_branch')
16 if not os.path.isdir(repo_path):
17 cmd = '{} {}'.format(script_path, test_src_path)
18 subprocess.call(cmd, shell=True)
19
20 g = CallCommitGraph(repo_path)
21 g.process(from_beginning=True, verbose=True, into_branches=True)
22 return g
23
24
25def test_callcommitgraph(g):

Callers

nothing calls this directly

Calls 2

CallCommitGraphClass · 0.90
processMethod · 0.45

Tested by

no test coverage detected