Back to index

plone3  3.1.7
Private Member Functions
CMFCore.exportimport.tests.test_cookieauth._CookieCrumblerSetup Class Reference
Inheritance diagram for CMFCore.exportimport.tests.test_cookieauth._CookieCrumblerSetup:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.exportimport.tests.test_cookieauth._CookieCrumblerSetup:
Collaboration graph
[legend]

List of all members.

Private Member Functions

def _initSite

Detailed Description

Definition at line 96 of file test_cookieauth.py.


Member Function Documentation

def CMFCore.exportimport.tests.test_cookieauth._CookieCrumblerSetup._initSite (   self,
  use_changed = False 
) [private]

Definition at line 98 of file test_cookieauth.py.

00098 
00099     def _initSite(self, use_changed=False):
00100         self.root.site = Folder(id='site')
00101         site = self.root.site
00102         cc = site.cookie_authentication = CookieCrumbler('foo_cookiecrumbler')
00103 
00104         if use_changed:
00105             cc.auth_cookie = 'value1'
00106             cc.cache_header_value = 'value2'
00107             cc.name_cookie = 'value3'
00108             cc.log_username = 0
00109             cc.persist_cookie = 'value4'
00110             cc.pw_cookie = 'value5'
00111             cc.local_cookie_path = 1
00112             cc.auto_login_page = 'value6'
00113             cc.unauth_page = 'value7'
00114             cc.logout_page = 'value8'
00115 
00116         return site
00117 


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