[issue11260] smtpd-as-a-script feature should be documented and should use argparse

Barry A. Warsaw report at bugs.python.org
Tue Feb 22 21:31:05 CET 2011


Barry A. Warsaw <barry at python.org> added the comment:

On Feb 22, 2011, at 08:15 PM, Xavier Morel wrote:

>Barry, do I correctly understand your comment to mean I should write
>end-to-end tests of the CLI (until reaching the already tested "meat" of
>smtpd), not just the CLI options parsing?

Given the way the __main__ is written, that's probably more thorough.  Testing
just the parsing alone would be uninteresting I think.

----------

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


More information about the Python-bugs-list mailing list