Back to index

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

List of all members.

Public Member Functions

def setUp
def tearDown

Private Attributes

 _olddirreg
 _dirreg

Detailed Description

Definition at line 211 of file test_skins.py.


Member Function Documentation

Reimplemented in CMFCore.exportimport.tests.test_skins._SkinsSetup, CMFCore.exportimport.tests.test_skins.SkinsToolXMLAdapterTests, and CMFCore.exportimport.tests.test_skins.DirectoryViewAdapterTests.

Definition at line 213 of file test_skins.py.

00213 
00214     def setUp(self):
00215         from Products.CMFCore import DirectoryView
00216 
00217         self._olddirreg = DirectoryView._dirreg
00218         DirectoryView._dirreg = DirectoryView.DirectoryRegistry()
00219         self._dirreg = DirectoryView._dirreg
00220         self._dirreg.registerDirectory('one', globals())
00221         self._dirreg.registerDirectory('two', globals())
00222         self._dirreg.registerDirectory('three', globals())
00223         self._dirreg.registerDirectory('four', globals())

Reimplemented in CMFCore.exportimport.tests.test_skins._SkinsSetup, CMFCore.exportimport.tests.test_skins.SkinsToolXMLAdapterTests, and CMFCore.exportimport.tests.test_skins.DirectoryViewAdapterTests.

Definition at line 224 of file test_skins.py.

00224 
00225     def tearDown(self):
00226         from Products.CMFCore import DirectoryView
00227 
00228         DirectoryView._dirreg = self._olddirreg
00229 


Member Data Documentation

Definition at line 218 of file test_skins.py.

Definition at line 216 of file test_skins.py.


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