Removed a few more unicode literals.
This commit is contained in:
@@ -252,7 +252,7 @@ Now we can post an anonymous comment.
|
||||
|
||||
>>> unprivileged_browser.open(urldoc)
|
||||
>>> unprivileged_browser.getControl(name='form.widgets.text').value = "This is an anonymous comment"
|
||||
>>> unprivileged_browser.getControl(name='form.widgets.author_name').value = u'John'
|
||||
>>> unprivileged_browser.getControl(name='form.widgets.author_name').value = 'John'
|
||||
>>> unprivileged_browser.getControl(name='form.widgets.author_email').value = 'john@acme.com'
|
||||
>>> unprivileged_browser.getControl(name='form.buttons.comment').click()
|
||||
|
||||
|
||||
@@ -77,8 +77,6 @@ class TestUserNotificationUnit(unittest.TestCase):
|
||||
"plone.app.discussion.interfaces.IDiscussionSettings"
|
||||
+ ".user_notification_enabled"
|
||||
] = True
|
||||
# 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)
|
||||
|
||||
@@ -220,8 +218,6 @@ class TestModeratorNotificationUnit(unittest.TestCase):
|
||||
"plone.app.discussion.interfaces.IDiscussionSettings."
|
||||
+ "moderator_notification_enabled"
|
||||
] = True
|
||||
# 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user