Logo Search packages:      
Sourcecode: zope-cmfplacefulworkflow version File versions  Download package

def CMFPlacefulWorkflow::tests::CMFPlacefulWorkflowTestCase::CMFPlacefulWorkflowTestCase::loginAsPortalMember (   self )
Use if you need to manipulate site as a member.

Definition at line 53 of file CMFPlacefulWorkflowTestCase.py.

                                 :
        '''Use if you need to manipulate site as a member.'''
        self._setupUser()
        self.mtool.createMemberarea(self.user_name)
        member = self.mtool.getMemberById(self.user_name)
        member.setMemberProperties({'fullname': self.user_name.capitalize(), 'email': 'test@example.com',})
        self.login()


Generated by  Doxygen 1.6.0   Back to index