mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-21 12:21:06 -05:00
Rename exceptions
* Change Djrill -> Mandrill in exception names * Don't re-export at package level (import from anymail.exceptions, not from anymail)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from django.core import mail
|
||||
|
||||
from anymail import MandrillAPIError
|
||||
from anymail.exceptions import AnymailAPIError
|
||||
|
||||
from .mock_backend import DjrillBackendMockAPITestCase
|
||||
|
||||
@@ -47,7 +47,7 @@ class DjrillMandrillSendTemplateTests(DjrillBackendMockAPITestCase):
|
||||
'from@example.com', ['to@example.com'])
|
||||
msg.template_name = "PERSONALIZED_SPECIALS"
|
||||
msg.use_template_from = True
|
||||
with self.assertRaises(MandrillAPIError):
|
||||
with self.assertRaises(AnymailAPIError):
|
||||
msg.send()
|
||||
|
||||
def test_send_template_without_subject_field(self):
|
||||
|
||||
Reference in New Issue
Block a user