Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
CMFCore.tests.test_FSReSTMethod.FSReSTMaker Class Reference
Inheritance diagram for CMFCore.tests.test_FSReSTMethod.FSReSTMaker:
Inheritance graph
Collaboration diagram for CMFCore.tests.test_FSReSTMethod.FSReSTMaker:
Collaboration graph

List of all members.

Public Member Functions

def setUp

Private Member Functions

def _makeOne

Detailed Description

Definition at line 32 of file

Member Function Documentation

def CMFCore.tests.test_FSReSTMethod.FSReSTMaker._makeOne (   self,
) [private]

Definition at line 40 of file

00041     def _makeOne( self, id, filename ):
00042         from Products.CMFCore.FSMetadata import FSMetadata
00043         from Products.CMFCore.FSReSTMethod import FSReSTMethod
00044         path = os.path.join(self.skin_path_name, filename)
00045         metadata = FSMetadata(path)
00047         return FSReSTMethod( id, path, properties=metadata.getProperties() )

Reimplemented in CMFCore.tests.test_FSReSTMethod.FSReSTMethodCustomizationTests, and CMFCore.tests.test_FSReSTMethod.FSReSTMethodTests.

Definition at line 34 of file

00035     def setUp(self):
00036         from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate
00037         FSDVTest.setUp(self)
00038         main = ZopePageTemplate('main_template', _TEST_MAIN_TEMPLATE)
00039         self.root._setOb('main_template', main)

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