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

Function az

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

Source from the content-addressed store, hash-verified

11
12@pytest.fixture(scope='module')
13def az():
14 # build the repo first if not exists yet
15 repo_path = os.path.join(root_path, 'repos/test_feature_branch')
16 script_path = os.path.join(root_path, 'tools/repo_creater/create_repo.py')
17 test_src_path = os.path.join(root_path, 'test/test_feature_branch')
18 if not os.path.isdir(repo_path):
19 cmd = '{} {}'.format(script_path, test_src_path)
20 subprocess.call(cmd, shell=True)
21
22 return Analyzer(repo_path, CGraphServer(C_FILENAME_REGEXES))
23
24
25def assert_graphs_equal(g1, g2):

Callers

nothing calls this directly

Calls 2

AnalyzerClass · 0.90
CGraphServerClass · 0.90

Tested by

no test coverage detected