Did I find the right examples for you? yes no

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/tests/testContentSecurity.py   Products.CMFPlone(Download)
        self.membership = self.portal.portal_membership
        self.workflow = self.portal.portal_workflow
        self.createMemberarea('user1')
        self.createMemberarea('user2')
 

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/tests/testContentSecurity.py   Products.CMFPlone(Download)
        self.membership = self.portal.portal_membership
        self.workflow = self.portal.portal_workflow
        self.createMemberarea('user1')
        self.createMemberarea('user2')
 

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/tests/testCutPasteSecurity.py   Products.CMFPlone(Download)
    def afterSetUp(self):
        self.portal.acl_users._doAddUser('user1', 'secret', ['Member'], [])
        self.portal.acl_users._doAddUser('user2', 'secret', ['Member'], [])
        self.membership = self.portal.portal_membership
        self.createMemberarea('user1')
        self.createMemberarea('user2')

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/tests/testCutPasteSecurity.py   Products.CMFPlone(Download)
    def afterSetUp(self):
        self.portal.acl_users._doAddUser('user1', 'secret', ['Member'], [])
        self.portal.acl_users._doAddUser('user2', 'secret', ['Member'], [])
        self.membership = self.portal.portal_membership
        self.createMemberarea('user1')
        self.createMemberarea('user2')

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/tests/testContentPublishing.py   Products.CMFPlone(Download)
    def afterSetUp(self):
        self.portal.acl_users._doAddUser('user1', 'secret', ['Member'], [])
        self.membership = self.portal.portal_membership
        self.createMemberarea('user1')
        self.workflow = self.portal.portal_workflow

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/tests/testContentPublishing.py   Products.CMFPlone(Download)
    def afterSetUp(self):
        self.portal.acl_users._doAddUser('user1', 'secret', ['Member'], [])
        self.membership = self.portal.portal_membership
        self.createMemberarea('user1')
        self.workflow = self.portal.portal_workflow

src/c/y/cyn.in-HEAD/products/ATRatings/tests/testRatingsTool.py   cyn.in(Download)
        self.portal.acl_users._doAddUser('user2', 'secret', ['Member'], [])
        self.membership = self.portal.portal_membership
        self.createMemberarea('user1')
        self.createMemberarea('user2')
 

src/p/r/Products.ATContentTypes-2.2.1/Products/ATContentTypes/tests/test_portal_factory.py   Products.ATContentTypes(Download)
    def testTempObjectLocalRolesBug(self):
        # Evil monkey patch should not change all objects of a class
        self.createMemberarea('member')
        member = self.membership.getMemberById('member')
        # Make an unrelated non-temporary object for comparison

src/s/l/slc.mindmap-1.0/slc/mindmap/tests/testMindMapSaveFromEditor.py   slc.mindmap(Download)
    def afterSetUp(self):
        self.portal.acl_users._doAddUser('user1', 'secret', ['Member'], [])
        self.membership = self.portal.portal_membership
        self.createMemberarea('user1')
        self.workflow = self.portal.portal_workflow