summaryrefslogtreecommitdiff
path: root/Lib/test/test_ftplib.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.Christian Heimes2016-09-101-4/+6
| | | | | | | 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.
* Issue #23883: Add missing APIs to __all__; patch by Jacek Ko?odziejMartin Panter2015-11-141-1/+10
|
* merge 3.4 (#22935)Benjamin Peterson2014-12-051-20/+9
|\
| * merge 3.4 (#22921)Benjamin Peterson2014-11-231-20/+9
| |\
| | * Issue #6623: Remove deprecated Netrc class in the ftplib module.Berker Peksag2014-11-011-17/+6
| | | | | | | | | | | | Patch by Matt Chaput.
| | * Issue #21566: Make use of socket.listen() default backlog.Charles-Fran?ois Natali2014-07-231-3/+3
| | |
* | | allow ssl module to compile if openssl doesn't support SSL 3 (closes #22935)Benjamin Peterson2014-12-051-1/+1
|/ / | | | | | | Patch by Kurt Roeckx.
* | don't require OpenSSL SNI to pass hostname to ssl functions (#22921)Benjamin Peterson2014-11-231-4/+0
|/ | | | Patch by Donald Stufft.
* Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-22/+69
|\ | | | | | | tests.
| * fixed test_ftplibChristian Heimes2013-12-151-1/+1
| |
| * test_ftplib: skip check_hostname test when SNI is not availableChristian Heimes2013-12-151-0/+4
| |
| * Issue #19781: ftplib now supports SSLContext.check_hostname and server nameChristian Heimes2013-12-021-1/+32
| | | | | | | | indication for TLS/SSL connections.
| * Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-7/+7
| |
| * Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read bySerhiy Storchaka2013-10-201-1/+21
| |\ | | | | | | | | | | | | limiting the call to readline(). Original patch by Micha? Jastrz?bski and Giampaolo Rodola.
| * \ merge 3.3 (#19118)Benjamin Peterson2013-09-291-4/+0
| |\ \
| * | | Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as ↵Antoine Pitrou2013-08-221-4/+4
| | | | | | | | | | | | | | | | possible, since "localhost" goes through a DNS lookup under recent Windows versions.
| * | | merge from 3.3Senthil Kumaran2013-08-121-0/+8
| |\ \ \ | | | | | | | | | | | | | | | Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
| * \ \ \ test_ftplib: silence a BytesWarning when checking TypeErrorFlorent Xicluna2013-07-061-1/+2
| |\ \ \ \
| * | | | | ftplib tests: provide a global socket's TIMEOUT variable and use it ↵Giampaolo Rodola'2013-05-161-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | everywhere so that failing tests won't accidentally hang
| * | | | | (Merge 3.3) Close #6822: ftplib.FTP.storlines() expects a binary file, not a ↵Victor Stinner2013-04-021-7/+18
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | text file Add an unit test to ensure that text files are rejectect (with TypeError)
| | * | | | | #6623: Add explicit deprecation warning for ftplib.Netrc.R David Murray2013-02-191-1/+12
| | | | | | |
| | * | | | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-3/+3
| | | | | | |
| | * | | | | Small cleanup in test_ftplibAntoine Pitrou2012-12-191-13/+14
| | |\ \ \ \ \
| | * | | | | | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-3/+3
| | | | | | | |
* | | | | | | | Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests.
* | | | | | | | Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-7/+7
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read bySerhiy Storchaka2013-10-201-1/+21
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | limiting the call to readline(). Original patch by Micha? Jastrz?bski and Giampaolo Rodola.
* | | | | | remove duplicate test_mkd (closes #19118)Benjamin Peterson2013-09-291-4/+0
| | | | | |
* | | | | | Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as ↵Antoine Pitrou2013-08-221-4/+4
| |_|_|_|/ |/| | | | | | | | | | | | | | possible, since "localhost" goes through a DNS lookup under recent Windows versions.
* | | | | Increasing test coverage of ftplib. Patch by Muhammad JehanzebSenthil Kumaran2013-08-121-0/+8
| |_|_|/ |/| | |
* | | | test_ftplib: silence a BytesWarning when checking TypeErrorFlorent Xicluna2013-07-061-1/+2
|/ / /
* | | Close #6822: ftplib.FTP.storlines() expects a binary file, not a text fileVictor Stinner2013-04-021-0/+4
| |/ |/| | | | | Add an unit test to ensure that text files are rejectect (with TypeError)
* | Small cleanup in test_ftplibAntoine Pitrou2012-12-191-13/+14
|/
* compare singletons by identity not equality (closes #16712)Benjamin Peterson2012-10-091-1/+1
| | | | Patch from Serhiy Storchaka.
* provide a common method to check for RETR_DATA validity, first checking the ↵Giampaolo Rodola'2012-01-091-8/+10
| | | | expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable)
* Issue #13453: Try to increase some socket timeouts to make some buildbots stopCharles-François Natali2011-12-191-20/+142
|\ | | | | | | failing.
| * Issue 12139: ftplib - remove 'post CCC' test to fix various buildot failures ↵Giampaolo Rodola'2011-06-301-2/+0
| | | | | | | | due to dummy test server not properly handling SSL shutdown(), see http://bugs.python.org/msg139499
| * Issue 12139: add CCC command support to FTP_TLS class to revert the SSL ↵Giampaolo Rodola'2011-06-271-2/+20
| | | | | | | | connection back to clear-text.
| * merge with 3.2Giampaolo Rodola'2011-05-071-18/+124
| |\
| | * reverting 9688977ef567 committed by accidentGiampaolo Rodola'2011-05-071-9/+9
| | |
| | * test_ftplib.py: change client default timeout from 10 to 2. Hanging for 10 ↵Giampaolo Rodola'2011-05-071-9/+9
| | | | | | | | | | | | seconds is way too much when we expect a server response which never comes in.
| | * test_ftplib.py: change client default timeout from 10 to 2. Hanging for 10 ↵Giampaolo Rodola'2011-05-071-9/+9
| | | | | | | | | | | | seconds is way too much when we expect a server response which never comes in.
| | * #11072- applying http://bugs.python.org/review/11072/show suggestionsGiampaolo Rodola'2011-05-071-4/+7
| | |
| | * Issue #11072: added MLSD command (RFC-3659) support to ftplib.Giampaolo Rodola'2011-05-061-1/+85
| | |
| | * Close #11958: Fix FTP tests for IPv6, bind to "::1" instead of "localhost".Victor Stinner2011-05-011-7/+2
| | | | | | | | | | | | Patch written by Charles-Francois Natali.
| | * Issue #11811: Factor out detection of IPv6 support on the current hostAntoine Pitrou2011-04-281-1/+1
| | | | | | | | | | | | | | | and make it available as `test.support.IPV6_ENABLED`. Patch by Charles-François Natali.
| | * Issue #11748: try to fix sporadic failures in test_ftplibAntoine Pitrou2011-04-031-6/+16
| | |
| | * #8594: fix ResourceWarning in test_ftplib.py - patch by Nadeem Vawda.Giampaolo Rodolà2011-03-081-2/+2
| | |
| | * Fix issue 8594: adds a source_address parameter to ftplib module.Giampaolo Rodolà2011-02-281-0/+14
| | |
* | | Issue #13453: Try to increase some socket timeouts to make some buildbots stopCharles-François Natali2011-12-191-1/+1
|/ / | | | | | | failing.