Back to index

plone3  3.1.7
Classes | Functions
CMFDefault.tests.test_Portal Namespace Reference

Classes

class  CMFSiteTests

Functions

def _getMetadata
def test_suite

Function Documentation

def CMFDefault.tests.test_Portal._getMetadata (   catalog,
  rid,
  field = 'Title' 
) [private]

Definition at line 184 of file test_Portal.py.

00184 
00185 def _getMetadata( catalog, rid, field='Title' ):
00186     md = catalog.getMetadataForRID( rid )
00187     return md[ field ]
00188 

Here is the caller graph for this function:

Definition at line 189 of file test_Portal.py.

00189 
00190 def test_suite():
00191     return unittest.TestSuite((
00192         unittest.makeSuite(CMFSiteTests),
00193         ))

Here is the call graph for this function: