File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414
1515
1616class RequestsBackendMockAPITestCase (SimpleTestCase , AnymailTestMixin ):
17- """TestCase that uses Djrill EmailBackend with a mocked Mandrill API """
17+ """TestCase that mocks API calls through requests """
1818
1919 DEFAULT_RAW_RESPONSE = b"""{"subclass": "should override"}"""
2020
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ def test_invalid_to(self):
106106 if self .message .anymail_status .status == {'queued' }:
107107 self .skipTest ("Mandrill queued the send -- can't complete this test" )
108108 else :
109- self .fail ("Djrill did not raise AnymailRecipientsRefused for invalid recipient" )
109+ self .fail ("Anymail did not raise AnymailRecipientsRefused for invalid recipient" )
110110
111111 def test_rejected_to (self ):
112112 # Example of detecting when a recipient is on Mandrill's rejection blacklist
@@ -125,7 +125,7 @@ def test_rejected_to(self):
125125 if self .message .anymail_status .status == {'queued' }:
126126 self .skipTest ("Mandrill queued the send -- can't complete this test" )
127127 else :
128- self .fail ("Djrill did not raise AnymailRecipientsRefused for blacklist recipient" )
128+ self .fail ("Anymail did not raise AnymailRecipientsRefused for blacklist recipient" )
129129
130130 @override_settings (MANDRILL_API_KEY = "Hey, that's not an API key!" )
131131 def test_invalid_api_key (self ):
You can’t perform that action at this time.
0 commit comments