Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
test.test_smtpnet.SmtpSSLTest Class Reference
Collaboration diagram for test.test_smtpnet.SmtpSSLTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def test_connect
def test_connect_default_port

Static Public Attributes

string testServer = 'smtp.gmail.com'
int remotePort = 465

Detailed Description

Definition at line 9 of file test_smtpnet.py.


Member Function Documentation

Definition at line 13 of file test_smtpnet.py.

00013 
00014     def test_connect(self):
00015         support.get_attribute(smtplib, 'SMTP_SSL')
00016         with support.transient_internet(self.testServer):
00017             server = smtplib.SMTP_SSL(self.testServer, self.remotePort)
00018         server.ehlo()
00019         server.quit()

Definition at line 20 of file test_smtpnet.py.

00020 
00021     def test_connect_default_port(self):
00022         support.get_attribute(smtplib, 'SMTP_SSL')
00023         with support.transient_internet(self.testServer):
00024             server = smtplib.SMTP_SSL(self.testServer)
00025         server.ehlo()
00026         server.quit()


Member Data Documentation

Definition at line 11 of file test_smtpnet.py.

string test.test_smtpnet.SmtpSSLTest.testServer = 'smtp.gmail.com' [static]

Definition at line 10 of file test_smtpnet.py.


The documentation for this class was generated from the following file: