summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_imaplib.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30231: Remove skipped test_imaplib tests (#1419) (#2192)Victor Stinner2017-06-141-20/+10
| | | | | | | | | The public cyrus.andrew.cmu.edu IMAP server (port 993) doesn't accept TLS connection using our self-signed x509 certificate. Remove the two tests which are already skipped. Write a new test_certfile_arg_warn() unit test for the certfile deprecation warning. (cherry picked from commit b18563da8803433509e9a0e29718e0271014659f)
* bpo-30175: Skip client cert tests of test_imaplib (#1320) (#1323)Victor Stinner2017-04-271-0/+6
| | | | | | | | | | | | | | * bpo-30175: Skip client cert tests of test_imaplib The IMAP server cyrus.andrew.cmu.edu doesn't accept our randomly generated client x509 certificate anymore. * bpo-30188: Catch EOFError in NetworkedNNTPTests test_nntplib fails randomly with EOFError in NetworkedNNTPTests.setUpClass(). Catch EOFError to skip tests in that case. (cherry picked from commit 5bccca58b9b2b3a925b16750bedbd907695ea8d7)
* Merge 3.5Victor Stinner2017-01-121-1/+1
|\
| * Issue #25591: Fix test_imaplib if ssl missVictor Stinner2017-01-121-1/+1
| |
* | Merge: #25591: improve imap tests.R David Murray2016-12-251-0/+330
|\ \ | |/
| * #25591: improve imap tests.R David Murray2016-12-251-0/+330
| | | | | | | | Patch by Maciej Szulik.
* | Issue #28022: Catch another deprecation warning in imaplibChristian Heimes2016-09-111-2/+4
| |
* | Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.Christian Heimes2016-09-101-3/+3
| | | | | | | | | | | | | | The deprecation include manual creation of SSLSocket and certfile/keyfile (or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib. ssl.wrap_socket() is not marked as deprecated yet.
* | #21815: violate IMAP RFC to be compatible with, e.g., gmailR David Murray2016-01-021-0/+49
|/ | | | | | | | | | | and others, including imaplib's own behavior. I'm applying this only to 3.6 because there's a potential backward compatibility concern: if there are servers that include ] characters in the 'text' portion of their imap responses, this code change could introduce a new bug. Patch by Lita Cho, reviewed by Jessica McKellar, Berker Peksag, Maciej Szulik, silentghost, and me (I fleshed out the comments with the additional info/concerns.)
* Issue #20220: Merge time zone workaround from 3.4 into 3.5Martin Panter2015-11-161-1/+3
|\
| * Issue #20220: Add DST rules to work around glibc quirkMartin Panter2015-11-161-1/+3
| | | | | | | | This was triggering intermittent failures in unrelated tests.
* | Issue #23779: imaplib raises TypeError if authenticator tries to abort.Robert Collins2015-07-301-0/+20
|\ \ | |/ | | | | Patch from Craig Holmquist.
| * Issue #23779: imaplib raises TypeError if authenticator tries to abort.Robert Collins2015-07-301-0/+19
| | | | | | | | Patch from Craig Holmquist.
* | #21800: Add RFC 6855 support to imaplib.R David Murray2015-05-101-0/+78
| | | | | | | | | | Original patch by Milan Oberkirch, updated by myself and Maciej Szulik.
* | merge 3.4 (#22921)Benjamin Peterson2014-11-231-4/+0
|\ \ | |/
| * don't require OpenSSL SNI to pass hostname to ssl functions (#22921)Benjamin Peterson2014-11-231-4/+0
| | | | | | | | Patch by Donald Stufft.
* | imaplib.IMAP4 now supports the context manager protocol.Serhiy Storchaka2014-09-091-0/+35
| | | | | | | | Original patch by Tarek Ziadé.
* | Issue #22111: Assorted cleanups in test_imaplib. Patch by Milan Oberkirch.Antoine Pitrou2014-07-311-65/+51
|/
* Issue #18492: Allow all resources when tests are not run by regrtest.py.Zachary Ware2014-06-021-1/+0
| | | | This changeset also includes cleanup allowed by this behavior change.
* test_imaplib: skip check_hostname test when SNI is not availableChristian Heimes2013-12-151-0/+4
|
* 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. ........