(capsys)
| 16 | |
| 17 | |
| 18 | def 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) |