Pep8
This commit is contained in:
parent
11e101f7d7
commit
81fd515455
@ -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,
|
||||
|
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user