def test_actually_send_email(self): send_confirmation_email(self.response, CONFIRMATION_EMAIL_INFO)
def test_actually_send_email_template(self): send_confirmation_email(self.response, CONFIRMATION_EMAIL_INFO_TEMPLATE)
def test_actually_send_email_cc_bad_email(self): confirmationEmailInfo = dict(CONFIRMATION_EMAIL_INFO, **{"cc": "bad_email"}) with self.assertRaises(ClientError): send_confirmation_email(self.response, confirmationEmailInfo)