[issue12581] Increased test coverage of test_urlparse

Senthil Kumaran report at bugs.python.org
Sat Jul 23 12:46:55 CEST 2011


Senthil Kumaran <senthil at uthcode.com> added the comment:

Thanks a lot for the patch, Petter Haggholm.

I was initially hesitant to have separate tests for functions/methods
which are helper functions and not necessarily have documented api.
My thought was that those should be tested as part of the public api.

But once I tried coverage report on the module and saw that
unexercised parts, I thought your current patch does indeed a lot of
value. Aiming for a 100% test coverage of module is always a joy!. :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12581>
_______________________________________


More information about the Python-bugs-list mailing list