From feec103b56d50df5bd96657403b18270a87b0518 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sun, 31 Oct 2010 10:48:45 +0000 Subject: [PATCH] Fix user email notification test for Plone 3. svn path=/plone.app.discussion/trunk/; revision=44737 --- plone/app/discussion/tests/test_notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/tests/test_notifications.py b/plone/app/discussion/tests/test_notifications.py index 158e5c4..404ebac 100644 --- a/plone/app/discussion/tests/test_notifications.py +++ b/plone/app/discussion/tests/test_notifications.py @@ -69,7 +69,7 @@ class TestUserNotificationUnit(PloneTestCase): self.conversation.addComment(comment) self.assertEquals(len(self.mailhost.messages), 1) self.failUnless(self.mailhost.messages[0]) - msg = self.mailhost.messages[0] + msg = str(self.mailhost.messages[0]) self.failUnless('To: john@plone.test' in msg) self.failUnless('From: portal@plone.test' in msg)