def setUp(self):
    super(WipeoutServiceVerifyDeleteSubtopicModelsTests, 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)
    self.save_new_topic(self.TOP_1_ID, self.user_1_id)
    self.save_new_subtopic(self.SUBTOP_1_ID, self.user_1_id, self.TOP_1_ID)
    wipeout_service.pre_delete_user(self.user_1_id)
    self.process_and_flush_pending_tasks()
def setUp(self):
    super(WipeoutServiceVerifyDeleteSubtopicModelsTests, 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)
    self.save_new_topic(self.TOP_1_ID, self.user_1_id)
    self.save_new_subtopic(self.SUBTOP_1_ID, self.user_1_id, self.TOP_1_ID)
    wipeout_service.pre_delete_user(self.user_1_id)
    self.process_and_flush_pending_tasks()