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