def test_model_with_sent_datetime_greater_than_current_time(self):
    self.model_instance.sent_datetime = (datetime.datetime.utcnow() + datetime.timedelta(days=1))
    self.model_instance.put()
    expected_output = [(u"[u'failed validation check for sent datetime check of SentEmailModel', [u'Entity id %s: The sent_datetime field has a value %s which is greater than the time when the job was run']]" % (self.model_instance.id, self.model_instance.sent_datetime))]
    run_job_and_check_output(self, expected_output)
def test_model_with_sent_datetime_greater_than_current_time(self):
    self.model_instance.sent_datetime = (datetime.datetime.utcnow() + datetime.timedelta(days=1))
    self.model_instance.put()
    expected_output = [(u"[u'failed validation check for sent datetime check of SentEmailModel', [u'Entity id %s: The sent_datetime field has a value %s which is greater than the time when the job was run']]" % (self.model_instance.id, self.model_instance.sent_datetime))]
    run_job_and_check_output(self, expected_output)