Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
CMFEditions.tests.test_CopyModifyMergeRepositoryTool.TestCopyModifyMergeRepositoryToolBase Class Reference
Inheritance diagram for CMFEditions.tests.test_CopyModifyMergeRepositoryTool.TestCopyModifyMergeRepositoryToolBase:
Inheritance graph

List of all members.

Public Member Functions

def afterSetUp

Private Member Functions

def _setupArchivist

Detailed Description

Definition at line 59 of file

Member Function Documentation

Reimplemented in CMFEditions.tests.test_CopyModifyMergeRepositoryTool.TestRepositoryWithDummyArchivist.

Definition at line 80 of file

00081     def _setupArchivist(self):
00082         # override this to install a different than the "official" tools
00083         pass

Here is the caller graph for this function:

Reimplemented in CMFEditions.tests.test_CopyModifyMergeRepositoryTool.TestPolicyVersioning.

Definition at line 61 of file

00062     def afterSetUp(self):
00063         # we need to have the Manager role to be able to add things
00064         # to the portal root
00065         self.setRoles(['Manager',])
00067         # add an additional user
00068         self.portal.acl_users.userFolderAddUser('reviewer', 'reviewer',
00069                                                 ['Manager'], '')
00071         # add test data
00072         self.portal.invokeFactory('Document', 'doc')
00073         self.portal.invokeFactory('Link', 'link')
00074         self.portal.invokeFactory('Folder', 'fol')
00075         self.portal.fol.invokeFactory('Document', 'doc1_inside')
00076         self.portal.fol.invokeFactory('Document', 'doc2_inside')
00077         self.portal.fol.invokeFactory('Document', 'doc3_outside')
00079         self._setupArchivist()

Here is the call graph for this function:

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