]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-30231: Remove skipped test_imaplib tests (#1419) (#2193)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 14 Jun 2017 20:43:02 +0000 (22:43 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2017 20:43:02 +0000 (22:43 +0200)
The public cyrus.andrew.cmu.edu IMAP server (port 993) doesn't accept
TLS connection using our self-signed x509 certificate. Remove the two
tests which are already skipped.

Lib/test/test_imaplib.py

index 7a821f3e973e4d7f9183f7374f7520a8208d6f33..99903555001a4b74cec1247d5e16ea69a54c1bf7 100644 (file)
@@ -917,23 +917,6 @@ class RemoteIMAP_SSLTest(RemoteIMAPTest):
             _server = self.imap_class(self.host, self.port)
             self.check_logincapa(_server)
 
-    @unittest.skipIf(True,
-                     "bpo-30175: FIXME: cyrus.andrew.cmu.edu doesn't accept "
-                     "our randomly generated client x509 certificate anymore")
-    def test_logincapa_with_client_certfile(self):
-        with transient_internet(self.host):
-            _server = self.imap_class(self.host, self.port, certfile=CERTFILE)
-            self.check_logincapa(_server)
-
-    @unittest.skipIf(True,
-                     "bpo-30175: FIXME: cyrus.andrew.cmu.edu doesn't accept "
-                     "our randomly generated client x509 certificate anymore")
-    def test_logincapa_with_client_ssl_context(self):
-        with transient_internet(self.host):
-            _server = self.imap_class(
-                self.host, self.port, ssl_context=self.create_ssl_context())
-            self.check_logincapa(_server)
-
     def test_logout(self):
         with transient_internet(self.host):
             _server = self.imap_class(self.host, self.port)