[Erp5-report] r14981 - /erp5/trunk/products/ERP5OOo/tests/testIngestion.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 26 16:00:38 CEST 2007
Author: ivan
Date: Tue Jun 26 16:00:38 2007
New Revision: 14981
URL: http://svn.erp5.org?rev=14981&view=rev
Log:
Use 'postUTF8MailMessage' method for parsing email content.
Modified:
erp5/trunk/products/ERP5OOo/tests/testIngestion.py
Modified: erp5/trunk/products/ERP5OOo/tests/testIngestion.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testIngestion.py?rev=14981&r1=14980&r2=14981&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testIngestion.py (original)
+++ erp5/trunk/products/ERP5OOo/tests/testIngestion.py Tue Jun 26 16:00:38 2007
@@ -871,7 +871,7 @@
"""
self.failUnless(hasattr(self.portal, 'portal_mailin'))
f = open(makeFilePath('email_from.txt'))
- res = self.portal.portal_mailin.postMailMessage(f.read())
+ res = self.portal.portal_mailin.postUTF8MailMessage(f.read())
# we check if the mailin returned anything - it should return a message saying that the recipient does not exist
# the exact wording may differ
# the way mailin works is that if mail was accepted it returns None
More information about the Erp5-report
mailing list