Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: develop
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (14 sloc) 0.578 kb
# encoding: utf-8
"""Test the primary configurator interface, Delivery."""
import logging
from unittest import TestCase
from import ok_, eq_, raises
from marrow.mailer.exc import DeliveryFailedException
log = logging.getLogger('tests')
class TestDeliveryFailedException(TestCase):
def test_init(self):
exc = DeliveryFailedException("message", "reason")
self.assertEquals(exc.msg, "message")
self.assertEquals(exc.reason, "reason")
self.assertEquals(exc.args[0], "message")
self.assertEquals(exc.args[1], "reason")
Jump to Line
Something went wrong with that request. Please try again.