Beispiel #1
0
 def test_failure_on_unhandled_smtp(self):
     self._test_immediate_failure(
         SMTPAuthenticationError(403, "That password doesn't work!"))
 def fail(user, password):
     raise SMTPAuthenticationError(mock, mock)