def testSendWithInvalidSender(self): util._Send( ['*****@*****.**'], 'subject', 'body', '', '', '') mail_stub = self.testbed.get_stub('mail') self.assertEqual(0, len(mail_stub.get_sent_messages()))
def testSendWithInvalidSender(self): self.mox.StubOutWithMock(util.settings, 'DEFAULT_EMAIL_SENDER', '') util._Send( ['*****@*****.**'], 'subject', 'body', '', '', '')
def testSendWithInvalidSender(self): self.mox.StubOutWithMock(util.settings, 'DEFAULT_EMAIL_SENDER', '') util._Send(['*****@*****.**'], 'subject', 'body', '', '', '')