(self)
| 1148 | self.assertEqual(resp, (235, b'Authentication Succeeded')) |
| 1149 | |
| 1150 | def testAUTH_LOGIN_initial_response_notok(self): |
| 1151 | self.serv.add_feature("AUTH LOGIN") |
| 1152 | with smtplib.SMTP(HOST, self.port, local_hostname='localhost', |
| 1153 | timeout=support.LOOPBACK_TIMEOUT) as smtp: |
| 1154 | smtp.user, smtp.password = sim_auth |
| 1155 | smtp.ehlo("test_auth_login") |
| 1156 | resp = smtp.auth("LOGIN", smtp.auth_login, initial_response_ok=False) |
| 1157 | self.assertEqual(resp, (235, b'Authentication Succeeded')) |
| 1158 | |
| 1159 | def testAUTH_BUGGY(self): |
| 1160 | self.serv.add_feature("AUTH BUGGY") |
nothing calls this directly
no test coverage detected