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