bpo-40964: disable remote IMAP tests (GH-20836)
Remote host cyrus.andrew.cmu.edu is blocking incoming connections and is causing test suite to fail. Signed-off-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
3ee0e48b03
commit
08b1bbab6b
|
@ -975,6 +975,7 @@ class ThreadedNetworkedTestsSSL(ThreadedNetworkedTests):
|
||||||
|
|
||||||
@unittest.skipUnless(
|
@unittest.skipUnless(
|
||||||
support.is_resource_enabled('network'), 'network resource disabled')
|
support.is_resource_enabled('network'), 'network resource disabled')
|
||||||
|
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
|
||||||
class RemoteIMAPTest(unittest.TestCase):
|
class RemoteIMAPTest(unittest.TestCase):
|
||||||
host = 'cyrus.andrew.cmu.edu'
|
host = 'cyrus.andrew.cmu.edu'
|
||||||
port = 143
|
port = 143
|
||||||
|
@ -1010,6 +1011,7 @@ class RemoteIMAPTest(unittest.TestCase):
|
||||||
@unittest.skipUnless(ssl, "SSL not available")
|
@unittest.skipUnless(ssl, "SSL not available")
|
||||||
@unittest.skipUnless(
|
@unittest.skipUnless(
|
||||||
support.is_resource_enabled('network'), 'network resource disabled')
|
support.is_resource_enabled('network'), 'network resource disabled')
|
||||||
|
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
|
||||||
class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
|
class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
@ -1025,6 +1027,7 @@ class RemoteIMAP_STARTTLSTest(RemoteIMAPTest):
|
||||||
|
|
||||||
|
|
||||||
@unittest.skipUnless(ssl, "SSL not available")
|
@unittest.skipUnless(ssl, "SSL not available")
|
||||||
|
@unittest.skip('cyrus.andrew.cmu.edu blocks connections')
|
||||||
class RemoteIMAP_SSLTest(RemoteIMAPTest):
|
class RemoteIMAP_SSLTest(RemoteIMAPTest):
|
||||||
port = 993
|
port = 993
|
||||||
imap_class = IMAP4_SSL
|
imap_class = IMAP4_SSL
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Disable remote :mod:`imaplib` tests, host cyrus.andrew.cmu.edu is blocking
|
||||||
|
incoming connections.
|
Loading…
Reference in New Issue