summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_smtpnet.py
Commit message (Collapse)AuthorAgeFilesLines
* test_smtpnet: Skip STARTTLS test if the server doesn't support it.Nadeem Vawda2011-07-301-1/+7
| | | | | This issue can arise with ISPs that redirect all connections on port 25 to their own (crappy) mail servers.
* Skip test_smtpnet when ssl is not availableAntoine Pitrou2011-05-181-1/+2
|
* Also protect ehlo() and quit() with the transient_internet() context managerAntoine Pitrou2011-05-181-8/+8
|
* Issue #8809: The SMTP_SSL constructor and SMTP.starttls() now supportAntoine Pitrou2011-05-181-1/+26
| | | | | passing a `context` argument pointing to an ssl.SSLContext instance. Patch by Kasun Herath.
* Merge: Issue #11927: SMTP_SSL now uses port 465 by default as documented.Antoine Pitrou2011-05-071-0/+7
|\
| * Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by ↵Antoine Pitrou2011-05-071-0/+7
| | | | | | | | Kasun Herath.
| * Merged revisions 85423 via svnmerge fromAntoine Pitrou2010-10-131-1/+2
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85423 | antoine.pitrou | 2010-10-13 19:14:16 +0200 (mer., 13 oct. 2010) | 3 lines Protect test_smtpnet against connection failures ........
* | Protect test_smtpnet against connection failuresAntoine Pitrou2010-10-131-1/+2
| |
* | convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|/
* Merged revisions 72838-72839 via svnmerge fromR. David Murray2009-05-231-5/+2
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72838 | r.david.murray | 2009-05-22 22:16:58 -0400 (Fri, 22 May 2009) | 3 lines Don't be so wordy in requires('network') in case other tests are added later, and skip the existing test if SSL is not available. ........ r72839 | r.david.murray | 2009-05-22 22:19:36 -0400 (Fri, 22 May 2009) | 2 lines Fix spelling left over from testing. ........
* Merged revisions 72835 via svnmerge fromR. David Murray2009-05-231-0/+26
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72835 | r.david.murray | 2009-05-22 20:48:58 -0400 (Fri, 22 May 2009) | 4 lines Fix Issue #4066: smtplib.SMTP_SSL._get_socket now correctly returns the socket. Patch by Farhan Ahmad, test by Marcin Bachry. ........