def test_model_with_non_existent_user_id(self):
    user_models.UserSettingsModel.get(self.admin_id).delete()
    expected_output = [(u'[u\'failed validation check for user_ids field check of RoleQueryAuditModel\', [u"Entity id %s: based on field user_ids having value %s, expect model UserSettingsModel with id %s but it doesn\'t exist"]]' % (self.model_instance.id, self.admin_id, self.admin_id))]
    run_job_and_check_output(self, expected_output)
def test_model_with_non_existent_user_id(self):
    user_models.UserSettingsModel.get(self.admin_id).delete()
    expected_output = [(u'[u\'failed validation check for user_ids field check of RoleQueryAuditModel\', [u"Entity id %s: based on field user_ids having value %s, expect model UserSettingsModel with id %s but it doesn\'t exist"]]' % (self.model_instance.id, self.admin_id, self.admin_id))]
    run_job_and_check_output(self, expected_output)