Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
CMFCore.exportimport.tests.test_skins._SkinsSetup Class Reference
Inheritance diagram for CMFCore.exportimport.tests.test_skins._SkinsSetup:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.exportimport.tests.test_skins._SkinsSetup:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp
def tearDown

Private Member Functions

def _initSite

Detailed Description

Definition at line 290 of file test_skins.py.


Member Function Documentation

def CMFCore.exportimport.tests.test_skins._SkinsSetup._initSite (   self,
  selections = {},
  ids = () 
) [private]

Definition at line 292 of file test_skins.py.

00292 
00293     def _initSite(self, selections={}, ids=()):
00294         from Products.CMFCore.DirectoryView import DirectoryView
00295 
00296         site = DummySite()
00297         fsdvs = [ (id, DirectoryView(id, 'CMFCore/exportimport/tests/%s' %
00298                                          id)) for id in ids ]
00299         site._setObject('portal_skins', DummySkinsTool(selections, fsdvs))
00300 
00301         site.REQUEST = 'exists'
00302         return site

Reimplemented from CMFCore.exportimport.tests.test_skins._DVRegistrySetup.

Definition at line 303 of file test_skins.py.

00303 
00304     def setUp(self):
00305         BaseRegistryTests.setUp(self)
00306         _DVRegistrySetup.setUp(self)

Reimplemented from CMFCore.exportimport.tests.test_skins._DVRegistrySetup.

Definition at line 307 of file test_skins.py.

00307 
00308     def tearDown(self):
00309         _DVRegistrySetup.tearDown(self)
00310         BaseRegistryTests.tearDown(self)
00311 


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