Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_imaplib Namespace Reference

Classes

class  TestImaplib
class  SecureTCPServer
class  SimpleIMAPHandler
class  BaseThreadedNetworkedTests
class  ThreadedNetworkedTests
class  ThreadedNetworkedTestsSSL
class  RemoteIMAPTest
class  RemoteIMAP_STARTTLSTest
class  RemoteIMAP_SSLTest

Functions

def test_main

Variables

tuple threading = support.import_module('threading')
 ssl = None
 CERTFILE = None

Function Documentation

Definition at line 268 of file test_imaplib.py.

00268 
00269 def test_main():
00270     tests = [TestImaplib]
00271 
00272     if support.is_resource_enabled('network'):
00273         if ssl:
00274             global CERTFILE
00275             CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir,
00276                                     "keycert.pem")
00277             if not os.path.exists(CERTFILE):
00278                 raise support.TestFailed("Can't read certificate files!")
00279         tests.extend([
00280             ThreadedNetworkedTests, ThreadedNetworkedTestsSSL,
00281             RemoteIMAPTest, RemoteIMAP_SSLTest, RemoteIMAP_STARTTLSTest,
00282         ])
00283 
00284     support.run_unittest(*tests)
00285 


Variable Documentation

Definition at line 22 of file test_imaplib.py.

Definition at line 20 of file test_imaplib.py.

Definition at line 5 of file test_imaplib.py.