MCPcopy Index your code
hub / github.com/RustPython/RustPython / testAUTH_PLAIN

Method testAUTH_PLAIN

Lib/test/test_smtplib.py:1125–1131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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")

Callers

nothing calls this directly

Calls 4

loginMethod · 0.95
closeMethod · 0.95
add_featureMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected