summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_imaplib.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19857: Make sure that test_imaplib reaps server threads even in face ofCharles-François Natali2013-12-071-7/+6
| | | | error upon client disconnection.
* Issue #19782: imaplib now supports SSLContext.check_hostname and server nameChristian Heimes2013-12-021-2/+26
| | | | indication for TLS/SSL connections.
* merge with 3.3Georg Brandl2013-10-271-0/+11
|\
| * Issue #16039: CVE-2013-1752: Change use of readline in imaplib module to limitGeorg Brandl2013-10-271-0/+11
| | | | | | | | line length. Patch by Emil Lind.
* | #17333: merge with 3.3.Ezio Melotti2013-03-021-3/+3
|\ \ | |/
| * #17333: test_imaplib now works with unittest test discovery. Patch by ↵Ezio Melotti2013-03-021-3/+3
| | | | | | | | Zachary Ware.
* | Merge: #13700: Make imap.authenticate with authobject work.R David Murray2013-02-191-9/+118
|\ \ | |/ | | | | | | | | | | This fixes a bytes/string confusion in the API which prevented custom authobjects from working at all. Original patch by Erno Tukia.
| * Merge: #13700: Make imap.authenticate with authobject work.R David Murray2013-02-191-9/+118
| |\ | | | | | | | | | | | | | | | | | | This fixes a bytes/string confusion in the API which prevented custom authobjects from working at all. Original patch by Erno Tukia.
| | * #13700: Make imap.authenticate with authobject work.R David Murray2013-02-191-9/+118
| | | | | | | | | | | | | | | | | | | | | This fixes a bytes/string confusion in the API which prevented custom authobjects from working at all. Original patch by Erno Tukia.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-1/+1
|/ /
* | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | | | | | Patch by Serhiy Storchaka.
* | fixed whitespaceAlexander Belopolsky2012-06-231-1/+1
| |
* | Issues #11024: Fixes and additional tests for Time2Internaldate.Alexander Belopolsky2012-06-231-9/+25
| |
* | Merge from 3.2 (Issue #15095: Use better assertions in test_imaplib)Nick Coghlan2012-06-171-5/+5
|\ \ | |/
| * Issue #15095: Use better assertions in test_imaplibNick Coghlan2012-06-171-5/+5
| |
* | Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result nearAlexander Belopolsky2012-04-291-1/+8
|\ \ | |/ | | | | the DST transition. Patch by Joe Peterson.
| * Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result nearAlexander Belopolsky2012-04-291-1/+8
| | | | | | | | the DST transition. Patch by Joe Peterson.
* | Issue #8808: The IMAP4_SSL constructor now allows passing an SSLContextAntoine Pitrou2011-05-061-4/+51
|/ | | | | parameter to control parameters of the secure channel. Patch by Sijin Joseph.
* Use transient_internet() consistently in test_imaplibAntoine Pitrou2011-03-231-12/+16
|
* Issue #10939: Make Internaldate2tuple test more robust.Alexander Belopolsky2011-01-291-6/+8
|
* Issue #10939: Fixed imaplib.Internaldate2tuple(). Thanks Joe PetersonAlexander Belopolsky2011-01-291-0/+11
| | | | for the report and the patch. Reviewed by Georg Brandl.
* test_imaplib: reap_server() closes the server when doneVictor Stinner2011-01-051-0/+1
| | | | Fix a ResourceWarning(unclosed socket). Patch written by Nadeem Vawda.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-1/+1
|
* Issue #10429: IMAP.starttls() stored the capabilities as bytes objects,Antoine Pitrou2010-11-161-0/+6
| | | | rather than strings.
* Avoid some BytesWarnings when running test_imaplib in verbose modeAntoine Pitrou2010-11-161-2/+2
|
* Issue #4471: Add the IMAP.starttls() method to enable encryption onAntoine Pitrou2010-11-121-3/+13
| | | | standard IMAP4 connections. Original patch by Lorenzo M. Catucci.
* Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch byAntoine Pitrou2010-11-091-0/+1
| | | | Lorenzo M. Catucci.
* Fix IMAP.login() to work properly.Antoine Pitrou2010-11-091-3/+43
| | | | Also, add remote tests for imaplib (part of #4471).
* Merged revisions 78093 via svnmerge fromGeorg Brandl2010-03-141-3/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........
* Merged revisions 76726-76727 via svnmerge fromR. David Murray2009-12-101-3/+194
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk The merge adds a test with an invalid rather than a missing line end, since the py3K code passed the original issue 5949 test. New test also by Scott Dial. ........ r76726 | r.david.murray | 2009-12-09 10:15:31 -0500 (Wed, 09 Dec 2009) | 6 lines Issue 5949: fixed IMAP4_SSL hang when the IMAP server response is missing proper end-of-line termination. Patch and tests by Scott Dial. The new tests include a test harness which will make it easier to add additional tests. ........ r76727 | r.david.murray | 2009-12-09 11:41:39 -0500 (Wed, 09 Dec 2009) | 2 lines Skip new imaplib SSL tests if ssl is not available. ........
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* Merged revisions ↵Christian Heimes2008-03-261-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61913,61915-61916,61918-61919,61922-61926,61928-61929,61931,61935,61938,61943 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r61913 | benjamin.peterson | 2008-03-25 22:14:42 +0100 (Tue, 25 Mar 2008) | 2 lines Merged the ACKS from py3k ........ r61915 | thomas.heller | 2008-03-25 22:18:39 +0100 (Tue, 25 Mar 2008) | 1 line Make _ctypes.c PY_SSIZE_T_CLEAN. ........ r61916 | benjamin.peterson | 2008-03-25 22:55:50 +0100 (Tue, 25 Mar 2008) | 3 lines Opps! I merged the revisions, but forgot to add the header to ACKS ........ r61918 | andrew.kuchling | 2008-03-26 01:16:50 +0100 (Wed, 26 Mar 2008) | 1 line Minor docstring typos ........ r61919 | andrew.kuchling | 2008-03-26 01:30:02 +0100 (Wed, 26 Mar 2008) | 1 line Add various items ........ r61922 | neal.norwitz | 2008-03-26 05:55:51 +0100 (Wed, 26 Mar 2008) | 6 lines Try to get this test to be less flaky. It was failing sometimes because the connect would succeed before the timeout occurred. Try using an address and port that hopefully doesn't exist to ensure we get no response. If this doesn't work, we can use a public address close to python.org and hopefully that address never gets taken. ........ r61923 | jerry.seutter | 2008-03-26 06:03:03 +0100 (Wed, 26 Mar 2008) | 1 line Changed test so it no longer runs as a side effect of importing. ........ r61924 | neal.norwitz | 2008-03-26 06:19:41 +0100 (Wed, 26 Mar 2008) | 5 lines Ensure that the mailbox is closed to prevent problems on Windows with removing an open file. This doesn't seem to be a problem in 2.6, but that appears to be somewhat accidental (specific to reference counting). When this gets merged to 3.0, it will make the 3.0 code simpler. ........ r61925 | jerry.seutter | 2008-03-26 06:32:51 +0100 (Wed, 26 Mar 2008) | 1 line Changed test so it no longer runs as a side effect of importing. ........ r61926 | jerry.seutter | 2008-03-26 06:58:14 +0100 (Wed, 26 Mar 2008) | 1 line Changed test so it no longer runs as a side effect of importing. ........ r61928 | georg.brandl | 2008-03-26 10:04:36 +0100 (Wed, 26 Mar 2008) | 2 lines Add Josiah. ........ r61929 | georg.brandl | 2008-03-26 10:32:46 +0100 (Wed, 26 Mar 2008) | 2 lines Add an example for an RFC 822 continuation. ........ r61931 | benjamin.peterson | 2008-03-26 12:57:47 +0100 (Wed, 26 Mar 2008) | 2 lines Added help options to PDB ........ r61935 | christian.heimes | 2008-03-26 13:32:49 +0100 (Wed, 26 Mar 2008) | 1 line Prepare integration of bytearray backport branch ........ r61938 | christian.heimes | 2008-03-26 13:50:43 +0100 (Wed, 26 Mar 2008) | 3 lines Removed merge tracking for "svnmerge" for svn+ssh://pythondev@svn.python.org/python/branches/trunk-bytearray ........ r61943 | georg.brandl | 2008-03-26 13:57:47 +0100 (Wed, 26 Mar 2008) | 2 lines Fix and simplify error handling, silencing a compiler warning. ........
* I don't know what's going on with this test, but the last change fromTim Peters2002-08-041-1/+1
| | | | | Piers obviously couldn't have passed on any platform. Fiddling it so it works (for a meaning of "works" no stronger than "doesn't fail" <wink>).
* revert to version 1.2Piers Lauder2002-08-031-5/+6
|
* Reverting this to rev 1.3. It's apparently broken everywhere at revTim Peters2002-07-311-5/+5
| | | | 1.6, and pierslauder didn't respond to email about it on Monday.
* remove redundant importPiers Lauder2002-07-271-1/+0
|
* remove redundant codePiers Lauder2002-07-271-1/+1
|
* remove o/s dependancy from testPiers Lauder2002-07-271-4/+5
|
* Alter text test arg to obey new rule, also include inverse test to make ↵Piers Lauder2002-06-171-6/+5
| | | | time-zone independant
* Remove unused imports, clean up trailing whitespace.Fred Drake2002-01-051-2/+0
|
* Check for time.struct_time in addition to tuples. Use 3 charactersMartin v. Löwis2002-01-051-0/+14
for zone hours. Fixes #499169.