def test_model_with_invalid_reply_to_id(self):
    while (len(self.model_instance.reply_to_id) <= email_models.REPLY_TO_ID_LENGTH):
        self.model_instance.reply_to_id = (self.model_instance.reply_to_id + 'invalid')
    self.model_instance.put()
    expected_output = [(u"[u'failed validation check for reply_to_id length check of GeneralFeedbackEmailReplyToIdModel', [u'Entity id %s: reply_to_id %s should have length less than or equal to %s but instead has length %s']]" % (self.model_instance.id, self.model_instance.reply_to_id, email_models.REPLY_TO_ID_LENGTH, len(self.model_instance.reply_to_id)))]
    run_job_and_check_output(self, expected_output)
def test_model_with_invalid_reply_to_id(self):
    while (len(self.model_instance.reply_to_id) <= email_models.REPLY_TO_ID_LENGTH):
        self.model_instance.reply_to_id = (self.model_instance.reply_to_id + 'invalid')
    self.model_instance.put()
    expected_output = [(u"[u'failed validation check for reply_to_id length check of GeneralFeedbackEmailReplyToIdModel', [u'Entity id %s: reply_to_id %s should have length less than or equal to %s but instead has length %s']]" % (self.model_instance.id, self.model_instance.reply_to_id, email_models.REPLY_TO_ID_LENGTH, len(self.model_instance.reply_to_id)))]
    run_job_and_check_output(self, expected_output)