New submission from Giampaolo Rodola' <[EMAIL PROTECTED]>: ftplib module is currently lacking a test suite which actually connects to a FTP server and uses the FTP class methods and facilities. Bug #3911, discovered just a bunch of weeks before the stable release of Python 3.0, is an example of how much a test suite is necessary. As demanded by Benjamin Peterson in #3911, I started working on test suite which implements an asyncore-based dummy FTP server which sends fixed response codes that I used to test all the relevant FTP class methods. Tests for the IPv6 module facilities are also included. Although not that useful (IMHO) I didn't remove the old tests about timeouts.
Tested against Python 2.6-RC2 on Windows XP SP3, Linux 2.6.20 and FreeBSD 7.0. ---------- files: test_ftplib.patch keywords: patch messages: 73605 nosy: benjamin.peterson, facundobatista, giampaolo.rodola, gvanrossum severity: normal status: open title: Patch to implement a real ftplib test suite versions: Python 2.7 Added file: http://bugs.python.org/file11564/test_ftplib.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3939> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com