Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests Class Reference
Inheritance diagram for GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests:
Inheritance graph
[legend]
Collaboration diagram for GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp

Static Public Attributes

 layer = ExportImportZCMLLayer

Private Member Functions

def _getTargetClass
def _populate

Private Attributes

 _obj
 _BODY

Detailed Description

Definition at line 31 of file test_exportimport.py.


Member Function Documentation

Definition at line 35 of file test_exportimport.py.

00035 
00036     def _getTargetClass(self):
00037         from Products.GenericSetup.PageTemplates.exportimport \
00038                 import ZopePageTemplateBodyAdapter
00039 
00040         return ZopePageTemplateBodyAdapter

Definition at line 41 of file test_exportimport.py.

00041 
00042     def _populate(self, obj):
00043         obj.write(_PAGETEMPLATE_BODY)

Here is the caller graph for this function:

Definition at line 44 of file test_exportimport.py.

00044 
00045     def setUp(self):
00046         from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate
00047 
00048         BodyAdapterTestCase.setUp(self)
00049         self._obj = ZopePageTemplate('foo_template')
00050         self._BODY = _PAGETEMPLATE_BODY
00051 


Member Data Documentation

Definition at line 49 of file test_exportimport.py.

Definition at line 48 of file test_exportimport.py.

Definition at line 33 of file test_exportimport.py.


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