def __to_commit(self, commit_str):
     commit_list = commit_str.split(SEP, 6)
     commit = Commit()
     commit.cid = commit_list[0]
     commit.name = commit_list[1]
     commit.email = commit_list[2]
     commit.date = commit_list[3]
     commit.subject = commit_list[4]
     commit.body = commit_list[5]
     commit.props = self.props
     return commit
    def test_eq_works_as_expected(self):
        sut1 = self.sut
        sut2 = Commit()
        sut2.cid = sut1.cid

        eq_(sut1, sut2)