def setUp(self):
    super(WipeoutServiceVerifyDeleteFeedbackModelsTests, self).setUp()
    self.signup(self.USER_1_EMAIL, self.USER_1_USERNAME)
    self.user_1_id = self.get_user_id_from_email(self.USER_1_EMAIL)
    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()
    feedback_models.GeneralFeedbackMessageModel(id=self.MESSAGE_1_ID, thread_id=self.FEEDBACK_1_ID, message_id=0, author_id=self.user_1_id, text='Some text').put_for_human()
    suggestion_models.GeneralSuggestionModel(id=self.FEEDBACK_1_ID, suggestion_type=feconf.SUGGESTION_TYPE_EDIT_STATE_CONTENT, target_type=feconf.ENTITY_TYPE_EXPLORATION, target_id=self.EXP_1_ID, target_version_at_submission=1, status=suggestion_models.STATUS_IN_REVIEW, author_id=self.user_1_id, final_reviewer_id=self.user_1_id, change_cmd={}, score_category=suggestion_models.SCORE_TYPE_CONTENT).put_for_human()
    wipeout_service.pre_delete_user(self.user_1_id)
    self.process_and_flush_pending_tasks()
def setUp(self):
    super(WipeoutServiceVerifyDeleteFeedbackModelsTests, self).setUp()
    self.signup(self.USER_1_EMAIL, self.USER_1_USERNAME)
    self.user_1_id = self.get_user_id_from_email(self.USER_1_EMAIL)
    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()
    feedback_models.GeneralFeedbackMessageModel(id=self.MESSAGE_1_ID, thread_id=self.FEEDBACK_1_ID, message_id=0, author_id=self.user_1_id, text='Some text').put_for_human()
    suggestion_models.GeneralSuggestionModel(id=self.FEEDBACK_1_ID, suggestion_type=feconf.SUGGESTION_TYPE_EDIT_STATE_CONTENT, target_type=feconf.ENTITY_TYPE_EXPLORATION, target_id=self.EXP_1_ID, target_version_at_submission=1, status=suggestion_models.STATUS_IN_REVIEW, author_id=self.user_1_id, final_reviewer_id=self.user_1_id, change_cmd={}, score_category=suggestion_models.SCORE_TYPE_CONTENT).put_for_human()
    wipeout_service.pre_delete_user(self.user_1_id)
    self.process_and_flush_pending_tasks()