Back to index

plone3  3.1.7
Classes | Functions | Variables
GenericSetup.tests.test_rolemap Namespace Reference

Classes

class  RolemapExportConfiguratorTests
class  RolemapImportConfiguratorTests
class  Test_exportRolemap
class  Test_importRolemap

Functions

def test_suite

Variables

string _EMPTY_EXPORT
string _ADDED_ROLE_EXPORT
string _ACQUIRED_EXPORT
string _UNACQUIRED_EXPORT
string _COMBINED_EXPORT

Function Documentation

Definition at line 785 of file test_rolemap.py.

00785 
00786 def test_suite():
00787     return unittest.TestSuite((
00788         unittest.makeSuite(RolemapExportConfiguratorTests),
00789         unittest.makeSuite(RolemapImportConfiguratorTests),
00790         unittest.makeSuite(Test_exportRolemap),
00791         unittest.makeSuite(Test_importRolemap),
00792         ))

Here is the call graph for this function:


Variable Documentation

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <rolemap>
00004   <roles>
00005     <role name="Anonymous"/>
00006     <role name="Authenticated"/>
00007     <role name="Manager"/>
00008     <role name="Owner"/>
00009   </roles>
00010   <permissions>
00011     <permission name="Access contents information"
00012                 acquire="True">
00013       <role name="Manager"/>
00014       <role name="Owner"/>
00015     </permission>
00016   </permissions>
00017 </rolemap>
00018 """

Definition at line 305 of file test_rolemap.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <rolemap>
00004   <roles>
00005     <role name="Anonymous"/>
00006     <role name="Authenticated"/>
00007     <role name="Manager"/>
00008     <role name="Owner"/>
00009     <role name="ZZZ"/>
00010   </roles>
00011   <permissions>
00012   </permissions>
00013 </rolemap>
00014 """

Definition at line 290 of file test_rolemap.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <rolemap>
00004   <roles>
00005     <role name="Anonymous"/>
00006     <role name="Authenticated"/>
00007     <role name="Manager"/>
00008     <role name="Owner"/>
00009     <role name="ZZZ"/>
00010   </roles>
00011   <permissions>
00012     <permission name="Access contents information"
00013                 acquire="False">
00014       <role name="Manager"/>
00015       <role name="Owner"/>
00016       <role name="ZZZ"/>
00017     </permission>
00018   </permissions>
00019 </rolemap>
00020 """

Definition at line 343 of file test_rolemap.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <rolemap>
00004   <roles>
00005     <role name="Anonymous"/>
00006     <role name="Authenticated"/>
00007     <role name="Manager"/>
00008     <role name="Owner"/>
00009   </roles>
00010   <permissions>
00011   </permissions>
00012 </rolemap>
00013 """

Definition at line 276 of file test_rolemap.py.

Initial value:
00001 """\
00002 <?xml version="1.0"?>
00003 <rolemap>
00004   <roles>
00005     <role name="Anonymous"/>
00006     <role name="Authenticated"/>
00007     <role name="Manager"/>
00008     <role name="Owner"/>
00009   </roles>
00010   <permissions>
00011     <permission name="Access contents information"
00012                 acquire="False">
00013       <role name="Manager"/>
00014       <role name="Owner"/>
00015     </permission>
00016   </permissions>
00017 </rolemap>
00018 """

Definition at line 324 of file test_rolemap.py.