def setUp(self):
    super(WipeoutServiceDeleteExplorationModelsTests, self).setUp()
    self.signup(self.USER_1_EMAIL, self.USER_1_USERNAME)
    self.signup(self.USER_2_EMAIL, self.USER_2_USERNAME)
    self.user_1_id = self.get_user_id_from_email(self.USER_1_EMAIL)
    self.user_2_id = self.get_user_id_from_email(self.USER_2_EMAIL)
    self.save_new_valid_exploration(self.EXP_1_ID, self.user_1_id)
    self.publish_exploration(self.user_1_id, self.EXP_1_ID)
    rights_manager.assign_role_for_exploration(user_services.UserActionsInfo(self.user_1_id), self.EXP_1_ID, self.user_2_id, feconf.ROLE_OWNER)
def setUp(self):
    super(WipeoutServiceDeleteExplorationModelsTests, self).setUp()
    self.signup(self.USER_1_EMAIL, self.USER_1_USERNAME)
    self.signup(self.USER_2_EMAIL, self.USER_2_USERNAME)
    self.user_1_id = self.get_user_id_from_email(self.USER_1_EMAIL)
    self.user_2_id = self.get_user_id_from_email(self.USER_2_EMAIL)
    self.save_new_valid_exploration(self.EXP_1_ID, self.user_1_id)
    self.publish_exploration(self.user_1_id, self.EXP_1_ID)
    rights_manager.assign_role_for_exploration(user_services.UserActionsInfo(self.user_1_id), self.EXP_1_ID, self.user_2_id, feconf.ROLE_OWNER)