Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
PlonePAS.tests.test_membership.TestMemberFolder Class Reference
Inheritance diagram for PlonePAS.tests.test_membership.TestMemberFolder:
Inheritance graph
[legend]
Collaboration diagram for PlonePAS.tests.test_membership.TestMemberFolder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp
def test_folder
def test_membershipId

Public Attributes

 mt

Detailed Description

Definition at line 26 of file test_membership.py.


Member Function Documentation

Definition at line 28 of file test_membership.py.

00028 
00029     def afterSetUp(self):
00030         self.mt = getToolByName(self.portal, 'portal_membership')

Definition at line 31 of file test_membership.py.

00031 
00032     def test_folder(self):
00033         assert self.mt.getHomeFolder() is not None

Definition at line 34 of file test_membership.py.

00034 
00035     def test_membershipId(self):
00036         u = self.mt.getAuthenticatedMember().getId()
00037         assert u == ZopeTestCase.user_name


Member Data Documentation

Definition at line 29 of file test_membership.py.


The documentation for this class was generated from the following file: