mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Define Py_BUILD_CORE_MODULE
This commit is contained in:
parent
a468866a67
commit
3ce6945f5f
9 changed files with 363 additions and 250 deletions
|
@ -1171,7 +1171,7 @@ class SMTPSimTests(unittest.TestCase):
|
|||
finally:
|
||||
smtp.close()
|
||||
|
||||
@hashlib_helper.requires_hashdigest('md5')
|
||||
@hashlib_helper.requires_hashdigest('md5', openssl=True)
|
||||
def testAUTH_CRAM_MD5(self):
|
||||
self.serv.add_feature("AUTH CRAM-MD5")
|
||||
smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
|
||||
|
@ -1180,7 +1180,7 @@ class SMTPSimTests(unittest.TestCase):
|
|||
self.assertEqual(resp, (235, b'Authentication Succeeded'))
|
||||
smtp.close()
|
||||
|
||||
@hashlib_helper.requires_hashdigest('md5')
|
||||
@hashlib_helper.requires_hashdigest('md5', openssl=True)
|
||||
def testAUTH_multiple(self):
|
||||
# Test that multiple authentication methods are tried.
|
||||
self.serv.add_feature("AUTH BOGUS PLAIN LOGIN CRAM-MD5")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue