Back to index

plone3  3.1.7
Classes | Functions
CMFCore.tests.test_OpaqueItems Namespace Reference

Classes

class  DummyContent
class  OpaqueBase
class  Marker
class  Hooks
class  MarkerAndHooks
class  ManageBeforeAfterTests

Functions

def extra_meta_types
def addDummyContent
def test_suite

Function Documentation

def CMFCore.tests.test_OpaqueItems.addDummyContent (   container,
  id,
  opaqueItem 
)

Definition at line 46 of file test_OpaqueItems.py.

00046 
00047 def addDummyContent(container, id, opaqueItem):
00048     container._setObject(id, DummyContent(id, opaqueItem=opaqueItem, catalog=1))
00049     return getattr(container, id)
00050 

Here is the caller graph for this function:

Definition at line 42 of file test_OpaqueItems.py.

00042 
00043 def extra_meta_types():
00044     return [{'name': 'Dummy', 'action': 'manage_addFolder',
00045              'permission': 'View'}]

Definition at line 286 of file test_OpaqueItems.py.

00286 
00287 def test_suite():
00288     return unittest.TestSuite((
00289         unittest.makeSuite(ManageBeforeAfterTests),
00290         ))

Here is the call graph for this function: