Back to index

plone3  3.1.7
Public Member Functions
plone.app.portlets.tests.test_rss_portlet.TestRenderer Class Reference
Inheritance diagram for plone.app.portlets.tests.test_rss_portlet.TestRenderer:
Inheritance graph
[legend]
Collaboration diagram for plone.app.portlets.tests.test_rss_portlet.TestRenderer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp
def renderer
def test_rss_items

Detailed Description

Definition at line 63 of file test_rss_portlet.py.


Member Function Documentation

Definition at line 65 of file test_rss_portlet.py.

00065 
00066     def afterSetUp(self):
00067         setHooks()
00068         setSite(self.portal)

Here is the call graph for this function:

def plone.app.portlets.tests.test_rss_portlet.TestRenderer.renderer (   self,
  context = None,
  request = None,
  view = None,
  manager = None,
  assignment = None 
)

Definition at line 69 of file test_rss_portlet.py.

00069 
00070     def renderer(self, context=None, request=None, view=None, manager=None, assignment=None):
00071         context = context or self.folder
00072         request = request or self.folder.REQUEST
00073         view = view or self.folder.restrictedTraverse('@@plone')
00074         manager = manager or getUtility(IPortletManager, name='plone.rightcolumn', context=self.portal)
00075         assignment = assignment or rss.Assignment()
00076 
00077         return getMultiAdapter((context, request, view, manager, assignment), IPortletRenderer)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 78 of file test_rss_portlet.py.

00078 
00079     def test_rss_items(self):
00080         r = self.renderer(assignment=rss.Assignment())
00081         self.assertEquals(False, r.enabled)

Here is the call graph for this function:


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