Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions | Private Attributes
CMFPlone.exportimport.tests.testPropertiesTool.PropertySheetXMLAdapterTests Class Reference
Inheritance diagram for CMFPlone.exportimport.tests.testPropertiesTool.PropertySheetXMLAdapterTests:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.exportimport.tests.testPropertiesTool.PropertySheetXMLAdapterTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp

Private Member Functions

def _getTargetClass
def _populate

Private Attributes

 _obj
 _BODY

Detailed Description

Definition at line 34 of file testPropertiesTool.py.


Member Function Documentation

Definition at line 36 of file testPropertiesTool.py.

00036 
00037     def _getTargetClass(self):
00038         from Products.CMFPlone.exportimport.propertiestool \
00039                     import SimpleItemWithPropertiesXMLAdapter
00040         return SimpleItemWithPropertiesXMLAdapter

Definition at line 41 of file testPropertiesTool.py.

00041 
00042     def _populate(self, obj):
00043         obj.manage_changeProperties(title='Site wide properties')
00044         obj.manage_addProperty('allowAnonymousViewAbout', True, 'boolean')

Here is the caller graph for this function:

Definition at line 45 of file testPropertiesTool.py.

00045 
00046     def setUp(self):
00047         self._obj = SimpleItemWithProperties('site_properties')
00048         self._BODY = _PROPERTYSHEET_XML
00049 


Member Data Documentation

Definition at line 47 of file testPropertiesTool.py.

Definition at line 46 of file testPropertiesTool.py.


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