This commit is contained in:
tisto 2012-01-14 07:53:03 +01:00
parent 11e101f7d7
commit 81fd515455
2 changed files with 5 additions and 4 deletions

View File

@ -6,10 +6,9 @@ from plone.app.testing import PLONE_FIXTURE
from plone.app.testing import IntegrationTesting
from plone.app.testing import FunctionalTesting
from plone.testing import z2
from zope.configuration import xmlconfig
class PloneAppDiscussion(PloneSandboxLayer):
defaultBases = (PLONE_FIXTURE,)
@ -57,7 +56,8 @@ class PloneAppDiscussion(PloneSandboxLayer):
)
mtool = getToolByName(portal, 'portal_membership', None)
mtool.addMember('jim', 'Jim', ['Member'], [])
mtool.getMemberById('jim').setMemberProperties({"fullname": 'Jim Fult\xc3\xb8rn'})
mtool.getMemberById('jim').setMemberProperties(
{"fullname": 'Jim Fult\xc3\xb8rn'})
acl_users.userFolderAddUser(
self.MANAGER_USER_NAME,

View File

@ -214,7 +214,8 @@ class CommentTest(unittest.TestCase):
def test_fti(self):
# test that we can look up an FTI for Discussion Item
self.assertTrue("Discussion Item" in self.portal.portal_types.objectIds())
self.assertTrue("Discussion Item" in
self.portal.portal_types.objectIds())
comment1 = createObject('plone.Comment')