(self)
| 347 | smtp.quit() |
| 348 | |
| 349 | def testVRFY(self): |
| 350 | smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', |
| 351 | timeout=support.LOOPBACK_TIMEOUT) |
| 352 | self.addCleanup(smtp.close) |
| 353 | expected = (252, b'Cannot VRFY user, but will accept message ' + \ |
| 354 | b'and attempt delivery') |
| 355 | self.assertEqual(smtp.vrfy('nobody@nowhere.com'), expected) |
| 356 | self.assertEqual(smtp.verify('nobody@nowhere.com'), expected) |
| 357 | smtp.quit() |
| 358 | |
| 359 | def testSecondHELO(self): |
| 360 | # check that a second HELO returns a message that it's a duplicate |
nothing calls this directly
no test coverage detected