We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc1fd1d commit 1155359Copy full SHA for 1155359
tests/test_mailtrap_backend.py
@@ -105,15 +105,6 @@ def test_send_with_invalid_api_token(self):
105
with self.assertRaises(AnymailAPIError):
106
self.message.send()
107
108
- @unittest.skip("TODO: is this test correct/necessary?")
109
- def test_send_with_recipients_refused(self):
110
- """Test sending an email with all recipients refused"""
111
- self.set_mock_response(
112
- status_code=400, raw=b'{"error": "All recipients refused"}'
113
- )
114
- with self.assertRaises(AnymailRecipientsRefused):
115
- self.message.send()
116
-
117
def test_send_with_serialization_error(self):
118
"""Test sending an email with a serialization error"""
119
self.message.extra_headers = {
0 commit comments