[New-bugs-announce] [issue3939] Patch to implement a real ftplib test suite

Giampaolo Rodola' report at bugs.python.org
Tue Sep 23 01:42:23 CEST 2008


New submission from Giampaolo Rodola' <billiejoex at users.sourceforge.net>:

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 <report at bugs.python.org>
<http://bugs.python.org/issue3939>
_______________________________________


More information about the New-bugs-announce mailing list