def test_rep_for_answer_comment_deleted(self): """Rep removed for a hard delete of an answer comment.""" comment = AnswerCommentFactory() comment.delete() self.assertEqual( comment.author.reputation, self.reputation_history(comment.author)[0] )