summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ftplib.py
Commit message (Collapse)AuthorAgeFilesLines
* allow ssl module to compile if openssl doesn't support SSL 3 (closes #22935)Benjamin Peterson2014-12-061-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-3/+3
|\ | | | | | | tests.
| * 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
| |
* | 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.
| * 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
|\ \ | |/
| * 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-211-4/+4
| | | | | | | | possible, since "localhost" goes through a DNS lookup under recent Windows versions.
* | Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as ↵Antoine Pitrou2013-08-211-4/+4
| | | | | | | | possible, since "localhost" goes through a DNS lookup under recent Windows versions.
* | merge from 3.3Senthil Kumaran2013-08-131-0/+8
|\ \ | |/ | | | | Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
| * Increasing test coverage of ftplib. Patch by Muhammad JehanzebSenthil Kumaran2013-08-131-0/+8
| |
* | test_ftplib: silence a BytesWarning when checking TypeErrorFlorent Xicluna2013-07-061-1/+2
|\ \ | |/
| * 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-0/+4
|\ \ | |/ | | | | | | | | text file Add an unit test to ensure that text files are rejectect (with TypeError)
| * 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)
* | #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
|\ \ | |/
| * 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
|/
* 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-1/+1
|\ | | | | | | failing.
| * Issue #13453: Try to increase some socket timeouts to make some buildbots stopCharles-François Natali2011-12-191-1/+1
| | | | | | | | 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-0/+8
|\ \ | |/
| * merge with 3.1Giampaolo Rodola'2011-05-071-0/+8
| |\
| | * #12002 - ftplib's abort() method raises TypeErrorGiampaolo Rodola'2011-05-071-0/+8
| | |
| | * Merged revisions 85492 via svnmerge fromAntoine Pitrou2010-10-141-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85492 | antoine.pitrou | 2010-10-14 22:35:26 +0200 (jeu., 14 oct. 2010) | 3 lines Increase timeouts in test_ftplib (for very slow buildbots) ........
| | * Merged revisions 73715 via svnmerge fromGeorg Brandl2009-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line convert old fail* assertions to assert* ........
* | | 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-04-301-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
|/ /
* | fix ftplib resource warningsBenjamin Peterson2010-10-311-0/+2
| |
* | Clean up socket closing in test_ftplib.Brett Cannon2010-10-291-35/+34
| |