[issue6484] No unit test for mailcap module
Gregory Nofi
report at bugs.python.org
Wed Jan 6 02:56:13 CET 2010
Gregory Nofi <crackityjones2004-p at yahoo.com> added the comment:
Attached is a new file for testing the mailcap module in Python 2.7.
Writing the test was a little tricky because the existence and contents of the .mailcap file(s) will vary depending on the system or user. Therefore, the test mostly uses its own version of .mailcap, which I will also submit to this issue.
This is the first patch I've ever submitted to Python Core Development. Any feedback is appreciated.
----------
Added file: http://bugs.python.org/file15752/test_mailcap.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6484>
_______________________________________
More information about the Python-bugs-list
mailing list