[issue4088] Patch to implement a real poplib test suite

2008-10-11 Thread Benjamin Peterson

Benjamin Peterson [EMAIL PROTECTED] added the comment:

Thanks for the patch; it's look good. Applied in r66878.

--
resolution:  - accepted
status: open - closed

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4088
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4088] Patch to implement a real poplib test suite

2008-10-09 Thread Giampaolo Rodola'

New submission from Giampaolo Rodola' [EMAIL PROTECTED]:

poplib module is currently lacking a test suite which actually connects
to a server and uses the POP3 class methods and facilities.
Bug #3727, discovered just a bunch of days before the stable release of
Python 3.0 is an example of how much a test suite is necessary.

As done in #3939 for the ftplib module, in attachment I provide a test
suite which implements an asyncore-based dummy POP3 server which sends
fixed response codes that I used to test all the relevant POP3 class
methods.
Tests for the POP3_SSL class are also included.
Although not that useful (IMHO) I didn't remove the old tests about
timeouts.

Tested successfully against Python 2.6 on Windows XP SP3, Debian Etch
and FreeBSD 7.0.

--
components: Tests
files: test_poplib.patch
keywords: patch
messages: 74581
nosy: benjamin.peterson, facundobatista, giampaolo.rodola, gvanrossum
severity: normal
status: open
title: Patch to implement a real poplib test suite
versions: Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file11754/test_poplib.patch

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4088
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com