Trigger failure for objects with unicode titles in string
svn path=/plone.app.discussion/trunk/; revision=47989
This commit is contained in:
parent
b2f8395dba
commit
b6d406d298
@ -1,3 +1,5 @@
|
||||
# coding=utf-8
|
||||
|
||||
import unittest
|
||||
|
||||
from Acquisition import aq_base
|
||||
@ -195,6 +197,9 @@ class TestModeratorNotificationUnit(PloneTestCase):
|
||||
self.loginAsPortalOwner()
|
||||
self.portal.invokeFactory('Document', 'doc1')
|
||||
self.portal_discussion = self.portal.portal_discussion
|
||||
# Archetypes content types store data as utf-8 encoded strings
|
||||
# The missing u in front of a string is therefor not missing
|
||||
self.portal.doc1.title = 'Kölle Alaaf' # What is "Fasching"?
|
||||
self.conversation = IConversation(self.portal.doc1)
|
||||
|
||||
def beforeTearDown(self):
|
||||
|
Loading…
Reference in New Issue
Block a user