コード例 #1
0
ファイル: tests.py プロジェクト: gcollazo/NiceCommits
def test_title_should_trucate_at_fifty_chars():
    ce2 = CommitExtractor(long_commit_message)
    assert len(ce2.get_title()) == 50
    assert ce2.get_title() == long_commit_title