示例#1
0
 def test_actually_send_email(self):
     send_confirmation_email(self.response, CONFIRMATION_EMAIL_INFO)
示例#2
0
 def test_actually_send_email_template(self):
     send_confirmation_email(self.response,
                             CONFIRMATION_EMAIL_INFO_TEMPLATE)
示例#3
0
 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)