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

Function test_processor

test/test_graphs/test_processor.py:18–26  ·  view source on GitHub ↗
(capsys)

Source from the content-addressed store, hash-verified

16
17
18def test_processor(capsys):
19 repo_path = os.path.join(root_path, 'repos/test_processor')
20 p = Processor(repo_path)
21 p.process(from_beginning=True, into_branches=True)
22 # from A to L
23 assert(len(p.visited) == 12)
24 out, _ = capsys.readouterr()
25 print(out)
26 assert("Commit No.8 Branch No.3" in out)

Callers

nothing calls this directly

Calls 2

processMethod · 0.95
ProcessorClass · 0.90

Tested by

no test coverage detected