Back to index

plone3  3.1.7
Private Member Functions
PluggableAuthService.tests.test_exportimport._TestBase Class Reference
Inheritance diagram for PluggableAuthService.tests.test_exportimport._TestBase:
Inheritance graph
[legend]
Collaboration diagram for PluggableAuthService.tests.test_exportimport._TestBase:
Collaboration graph
[legend]

List of all members.

Private Member Functions

def _initPAS

Detailed Description

Definition at line 45 of file test_exportimport.py.


Member Function Documentation

def PluggableAuthService.tests.test_exportimport._TestBase._initPAS (   self,
  plugin_type_info = (),
  plugins = {} 
) [private]

Definition at line 47 of file test_exportimport.py.

00047 
00048         def _initPAS(self, plugin_type_info=(), plugins={}):
00049             from OFS.Folder import Folder
00050             from OFS.SimpleItem import SimpleItem
00051             from Products.PluggableAuthService.PluggableAuthService \
00052                 import addPluggableAuthService
00053 
00054             app = Folder()
00055             app.getPhysicalPath = lambda: ()
00056             app.getPhysicalRoot = lambda: app
00057 
00058             addPluggableAuthService(app)
00059             pas = app._getOb('acl_users')
00060 
00061             return app, pas
00062 
    class Test_exportPAS(_TestBase):

Here is the call graph for this function:

Here is the caller graph for this function:


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