(self)
| 1123 | smtp.quit() |
| 1124 | |
| 1125 | def testAUTH_PLAIN(self): |
| 1126 | self.serv.add_feature("AUTH PLAIN") |
| 1127 | smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', |
| 1128 | timeout=support.LOOPBACK_TIMEOUT) |
| 1129 | resp = smtp.login(sim_auth[0], sim_auth[1]) |
| 1130 | self.assertEqual(resp, (235, b'Authentication Succeeded')) |
| 1131 | smtp.close() |
| 1132 | |
| 1133 | def testAUTH_LOGIN(self): |
| 1134 | self.serv.add_feature("AUTH LOGIN") |
nothing calls this directly
no test coverage detected