(self)
| 318 | smtp.quit() |
| 319 | |
| 320 | def testELHO(self): |
| 321 | # EHLO isn't implemented in DebuggingServer |
| 322 | smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', |
| 323 | timeout=support.LOOPBACK_TIMEOUT) |
| 324 | self.addCleanup(smtp.close) |
| 325 | expected = (250, b'\nSIZE 33554432\nHELP') |
| 326 | self.assertEqual(smtp.ehlo(), expected) |
| 327 | smtp.quit() |
| 328 | |
| 329 | def testEXPNNotImplemented(self): |
| 330 | # EXPN isn't implemented in DebuggingServer |
nothing calls this directly
no test coverage detected