This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ron.duplain
Recipients memeplex, ron.duplain
Date 2009-04-26.20:21:10
SpamBayes Score 4.028745e-07
Marked as misclassified No
Message-id <1240777273.59.0.83323610574.issue5430@psf.upfronthosting.co.za>
In-reply-to
Content
Module imaplib has pretty sparse test code.  There is only 1 test case,
for imaplib.Time2Internaldate.
trunk/Lib/test/test_imaplib.py

The attached patch tests for LF, CR preservation with regard to the
IMAP4.append method, but more testing is necessary to make sure LF, CR
are preserved in IMAP literals throughout imaplib and that the
respective fix doesn't break anything.  Mock IMAP interaction may be the
way to go for better test cases.  Is anyone working on expanding imaplib
test coverage?

-Ron
History
Date User Action Args
2009-04-26 20:21:13ron.duplainsetrecipients: + ron.duplain, memeplex
2009-04-26 20:21:13ron.duplainsetmessageid: <1240777273.59.0.83323610574.issue5430@psf.upfronthosting.co.za>
2009-04-26 20:21:12ron.duplainlinkissue5430 messages
2009-04-26 20:21:11ron.duplaincreate