Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/o/collective.groupspace.roles-1.0.3/collective/groupspace/roles/tests/test_mygroupsportlet.py   collective.groupspace.roles(Download)
    def test_interfaces(self):
        # TODO: Pass any keywoard arguments to the Assignment constructor
        portlet = mygroupsportlet.Assignment()
        self.failUnless(IPortletAssignment.providedBy(portlet))
        self.failUnless(IPortletDataProvider.providedBy(portlet.data))
 
        renderer = getMultiAdapter((context, request, view, manager, assignment), IPortletRenderer)
        self.failUnless(isinstance(renderer, mygroupsportlet.Renderer))