def test_missing_editor_user_model_failure(self):
    user_models.UserSettingsModel.get_by_id(self.editor_id).delete()
    expected_output = [(u'[u\'failed validation check for editor_user_ids field check of ExplorationRightsModel\', [u"Entity id 0: based on field editor_user_ids having value %s, expect model UserSettingsModel with id %s but it doesn\'t exist"]]' % (self.editor_id, self.editor_id)), u"[u'fully-validated ExplorationRightsModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_missing_editor_user_model_failure(self):
    user_models.UserSettingsModel.get_by_id(self.editor_id).delete()
    expected_output = [(u'[u\'failed validation check for editor_user_ids field check of ExplorationRightsModel\', [u"Entity id 0: based on field editor_user_ids having value %s, expect model UserSettingsModel with id %s but it doesn\'t exist"]]' % (self.editor_id, self.editor_id)), u"[u'fully-validated ExplorationRightsModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)