示例#1
0
def test_total_commits():
    gr = GitRepository('test-repos/test1/')
    assert gr.total_commits() == 5
示例#2
0
def test_total_commits(repo: GitRepository):
    assert repo.total_commits() == 5