def test_verify_user_delete_when_user_is_not_deleted_returns_false(self):
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_1_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_1_id))
    feedback_models.GeneralFeedbackThreadModel(id=self.FEEDBACK_1_ID, entity_type=feconf.ENTITY_TYPE_EXPLORATION, entity_id=self.EXP_1_ID, original_author_id=self.user_1_id, subject='Wrong state name', has_suggestion=True, last_nonempty_message_text='Some text', last_nonempty_message_author_id=self.user_1_id).put_for_human()
    self.assertFalse(wipeout_service.verify_user_deleted(self.user_1_id))
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_1_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_1_id))
def test_verify_user_delete_when_user_is_not_deleted_returns_false(self):
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_1_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_1_id))
    feedback_models.GeneralFeedbackThreadModel(id=self.FEEDBACK_1_ID, entity_type=feconf.ENTITY_TYPE_EXPLORATION, entity_id=self.EXP_1_ID, original_author_id=self.user_1_id, subject='Wrong state name', has_suggestion=True, last_nonempty_message_text='Some text', last_nonempty_message_author_id=self.user_1_id).put_for_human()
    self.assertFalse(wipeout_service.verify_user_deleted(self.user_1_id))
    wipeout_service.delete_user(wipeout_service.get_pending_deletion_request(self.user_1_id))
    self.assertTrue(wipeout_service.verify_user_deleted(self.user_1_id))