(self)
| 1131 | smtp.close() |
| 1132 | |
| 1133 | def testAUTH_LOGIN(self): |
| 1134 | self.serv.add_feature("AUTH LOGIN") |
| 1135 | smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', |
| 1136 | timeout=support.LOOPBACK_TIMEOUT) |
| 1137 | resp = smtp.login(sim_auth[0], sim_auth[1]) |
| 1138 | self.assertEqual(resp, (235, b'Authentication Succeeded')) |
| 1139 | smtp.close() |
| 1140 | |
| 1141 | def testAUTH_LOGIN_initial_response_ok(self): |
| 1142 | self.serv.add_feature("AUTH LOGIN") |
nothing calls this directly
no test coverage detected