8000 fix expected failures on test_smtplib.py · RustPython/RustPython@dba4a18 · GitHub
[go: up one dir, main page]

Skip to content

Commit dba4a18

Browse files
committed
fix expected failures on test_smtplib.py
1 parent 3d45e15 commit dba4a18

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Lib/test/test_smtplib.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,8 @@ def auth_buggy(challenge=None):
11701170
finally:
11711171
smtp.close()
11721172

1173+
# TODO: RUSTPYTHON
1174+
@unittest.expectedFailure
11731175
@hashlib_helper.requires_hashdigest('md5', openssl=True)
11741176
def testAUTH_CRAM_MD5(self):
11751177
self.serv.add_feature("AUTH CRAM-MD5")
@@ -1179,6 +1181,8 @@ def testAUTH_CRAM_MD5(self):
11791181
self.assertEqual(resp, (235, b'Authentication Succeeded'))
11801182
smtp.close()
11811183

1184+
# TODO: RUSTPYTHON
1185+
@unittest.expectedFailure
11821186
@hashlib_helper.requires_hashdigest('md5', openssl=True)
11831187
def testAUTH_multiple(self):
11841188
# Test that multiple authentication methods are tried.
@@ -1189,6 +1193,8 @@ def testAUTH_multiple(self):
11891193
self.assertEqual(resp, (235, b'Authentication Succeeded'))
11901194
smtp.close()
11911195

1196+
# TODO: RUSTPYTHON
1197+
@unittest.expectedFailure
11921198
def test_auth_function(self):
11931199
supported = {'PLAIN', 'LOGIN'}
11941200
try:
@@ -1453,6 +1459,8 @@ def test_send_unicode_with_SMTPUTF8_via_low_level_API(self):
14531459
self.assertIn('SMTPUTF8', self.serv.last_mail_options)
14541460
self.assertEqual(self.serv.last_rcpt_options, [])
14551461

1462+
# TODO: RUSTPYTHON
1463+
@unittest.expectedFailure
14561464
def test_send_message_uses_smtputf8_if_addrs_non_ascii(self):
14571465
msg = EmailMessage()
14581466
msg['From'] = "Páolo <főo@bar.com>"

0 commit comments

Comments
 (0)
0