def test_model_with_invalid_recipient_email(self):
    self.recipient_model.email = 'example@example.com'
    self.recipient_model.put()
    expected_output = [(u"[u'failed validation check for recipient email check of SentEmailModel', [u'Entity id %s: Recipient email %s in entity does not match with email %s of user obtained through recipient id %s']]" % (self.model_instance.id, self.model_instance.recipient_email, self.recipient_model.email, self.model_instance.recipient_id))]
    run_job_and_check_output(self, expected_output)
def test_model_with_invalid_recipient_email(self):
    self.recipient_model.email = 'example@example.com'
    self.recipient_model.put()
    expected_output = [(u"[u'failed validation check for recipient email check of SentEmailModel', [u'Entity id %s: Recipient email %s in entity does not match with email %s of user obtained through recipient id %s']]" % (self.model_instance.id, self.model_instance.recipient_email, self.recipient_model.email, self.model_instance.recipient_id))]
    run_job_and_check_output(self, expected_output)