[issue1926] NNTPS support in nntplib

Bill Janssen report at bugs.python.org
Mon Jan 28 05:46:53 CET 2008


Bill Janssen added the comment:

Yeah, it took me a couple of months to do a reasonable test case for the SSL
code.

Perhaps we could test against an existing NNTP server?  Like Google's?

Bill

On Jan 27, 2008 6:59 PM, Ray Chason <report at bugs.python.org> wrote:

>
> Ray Chason added the comment:
>
> It seems that I, or whoever writes any future test_nntplib.py, would
> have to understand how existing tests such as test_smtplib.py work.  It
> looks like that one is setting up some kind of miniature mail server and
> accepting a connection on localhost -- neat trick, binding a server
> socket to port 0 so it still works if you have a real mail server running.
>
> Anyway, getting good coverage isn't something I can bang out in an
> afternoon.  Class NNTPBase and its derivatives (I'm talking post-patch
> of course) have lots of methods and I want to cover them as well as
> possible.
>
> __________________________________
> Tracker <report at bugs.python.org>
> <http://bugs.python.org/issue1926>
> __________________________________
>

Added file: http://bugs.python.org/file9309/unnamed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1926>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unnamed
Url: http://mail.python.org/pipermail/python-bugs-list/attachments/20080128/0864e1f5/attachment.txt 


More information about the Python-bugs-list mailing list