Back to index

plone3  3.1.7
Classes | Functions | Variables
PluggableAuthService.plugins.tests.test_exportimport Namespace Reference

Classes

class  _TestBase
class  ZODBUserManagerExportImportTests
class  ZODBGroupManagerExportImportTests
class  ZODBRoleManagerExportImportTests
class  CookieAuthHelperExportImportTests
class  DomainAuthHelperExportImportTests
class  TitleOnlyExportImportTests
class  DelegatePathExportImportTests
class  DynamicGroupsPluginExportImportTests

Functions

def test_suite

Variables

string _EMPTY_ZODB_USERS
tuple _ZODB_USER_INFO
string _FILLED_ZODB_USERS
string _EMPTY_ZODB_GROUPS
tuple _ZODB_GROUP_INFO
string _FILLED_ZODB_GROUPS
string _EMPTY_ZODB_ROLES
tuple _ZODB_ROLE_INFO
string _FILLED_ZODB_ROLES
string _COOKIE_AUTH_TEMPLATE_NO_TITLE
string _COOKIE_AUTH_TEMPLATE
string _EMPTY_DOMAIN_AUTH
string _FILLED_DOMAIN_AUTH
string _TITLE_ONLY_TEMPLATE_NO_TITLE
string _TITLE_ONLY_TEMPLATE
string _DELEGATE_PATH_TEMPLATE_NO_TITLE
string _DELEGATE_PATH_TEMPLATE
tuple _DYNAMIC_GROUP_INFO
string _EMPTY_DYNAMIC_GROUPS
string _FILLED_DYNAMIC_GROUPS

Function Documentation

Definition at line 27 of file test_exportimport.py.

00027 
00028     def test_suite():
00029         return unittest.TestSuite()
00030 
00031 else:

Here is the caller graph for this function:


Variable Documentation

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <cookie-auth title="%s" cookie_name="%s" login_path="%s" />
00004 """

Definition at line 1266 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <cookie-auth cookie_name="%s" login_path="%s" />
00004 """

Definition at line 1261 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <delegating-plugin title="%s" delegate="%s" />
00004 """

Definition at line 1301 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <delegating-plugin delegate="%s" />
00004 """

Definition at line 1296 of file test_exportimport.py.

Initial value:
00001 ({'group_id': 'group_1',
00002                         'title': 'Group 1',
00003                         'predicate': 'python:1',
00004                         'description': 'First Group',
00005                         'active': True,
00006                        },
00007                        {'group_id': 'group_2',
00008                         'title': 'Group 2',
00009                         'predicate': 'python:0',
00010                         'description': 'Second Group',
00011                         'active': False,
00012                        },
00013                       )

Definition at line 1306 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <domain-auth>
00004 </domain-auth>
00005 """

Definition at line 1271 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <dynamic-groups>
00004 </dynamic-groups>
00005 """

Definition at line 1320 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <zodb-groups>
00004 </zodb-groups>
00005 """

Definition at line 1197 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <zodb-roles>
00004 </zodb-roles>
00005 """

Definition at line 1229 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <zodb-users>
00004 </zodb-users>
00005 """

Definition at line 1169 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <domain-auth title="%s">
00004  <user user_id="%s">
00005   <match match_string="%s" match_type="%s" roles="%s" username="%s"/>
00006  </user>
00007 </domain-auth>
00008 """

Definition at line 1277 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <dynamic-groups title="Plugin Title">
00004 <group
00005     group_id="group_1"
00006     predicate="python:1"
00007     title="Group 1"
00008     description="First Group"
00009     active="True"
00010     />
00011 <group
00012     group_id="group_2"
00013     predicate="python:0"
00014     title="Group 2"
00015     description="Second Group"
00016     active="False"
00017     />
00018 </dynamic-groups>
00019 """

Definition at line 1326 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <zodb-groups title="Plugin Title">
00004 <group group_id="group_1" title="Group 1" description="First Group">
00005 <principal principal_id="principal1" />
00006 <principal principal_id="principal2" />
00007 </group>
00008 <group group_id="group_2" title="Group 2" description="Second Group">
00009 <principal principal_id="principal1" />
00010 <principal principal_id="principal3" />
00011 </group>
00012 </zodb-groups>
00013 """

Definition at line 1215 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <zodb-roles title="Plugin Title">
00004 <role role_id="role_1" title="Role 1" description="First Role">
00005 <principal principal_id="principal1" />
00006 <principal principal_id="principal2" />
00007 </role>
00008 <role role_id="role_2" title="Role 2" description="Second Role">
00009 <principal principal_id="principal1" />
00010 <principal principal_id="principal3" />
00011 </role>
00012 </zodb-roles>
00013 """

Definition at line 1247 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <zodb-users title="Plugin Title">
00004 <user user_id="user_1"
00005 login_name="user1@example.com"
00006 password_hash="%s" />
00007 <user user_id="user_2"
00008 login_name="user2@example.com"
00009 password_hash="%s" />
00010 </zodb-users>
00011 """

Definition at line 1185 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <plug-in title="%s" />
00004 """

Definition at line 1291 of file test_exportimport.py.

Initial value:
00001 """\
00002 <?xml version="1.0" ?>
00003 <plug-in />
00004 """

Definition at line 1286 of file test_exportimport.py.

Initial value:
00001 ({'group_id': 'group_1',
00002                      'title': 'Group 1',
00003                      'description': 'First Group',
00004                      'principals': ('principal1', 'principal2'),
00005                     },
00006                     {'group_id': 'group_2',
00007                      'title': 'Group 2',
00008                      'description': 'Second Group',
00009                      'principals': ('principal1', 'principal3'),
00010                     },
00011                    )

Definition at line 1203 of file test_exportimport.py.

Initial value:
00001 ({'role_id': 'role_1',
00002                     'title': 'Role 1',
00003                     'description': 'First Role',
00004                     'principals': ('principal1', 'principal2'),
00005                    },
00006                    {'role_id': 'role_2',
00007                     'title': 'Role 2',
00008                     'description': 'Second Role',
00009                     'principals': ('principal1', 'principal3'),
00010                    },
00011                   )

Definition at line 1235 of file test_exportimport.py.

Initial value:
00001 ({'user_id': 'user_1',
00002                     'login_name': 'user1@example.com',
00003                     'password': 'password1',
00004                    },
00005                    {'user_id': 'user_2',
00006                     'login_name': 'user2@example.com',
00007                     'password': 'password2',
00008                    },
00009                   )

Definition at line 1175 of file test_exportimport.py.