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

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

src/p/r/Products.BlingPortlet-2.1/Products/BlingPortlet/tests/test_bling_portlet.py   Products.BlingPortlet(Download)
    def afterSetUp(self):
        self.setRoles(('Manager',))
 
    def testPortletTypeRegistered(self):
        portlet = getUtility(IPortletType, name='Products.BlingPortlet.bling')
    def afterSetUp(self):
        self.setRoles(('Manager',))
 
    def renderer(self, context=None, request=None, view=None, manager=None, assignment=None):
        context = context or self.folder

src/p/r/Products.BlingPortlet-2.1/Products/BlingPortlet/tests/test_adapter.py   Products.BlingPortlet(Download)
    def testATImageAdapter(self):
        self.setRoles(('Manager',))
 
        title= u"Test Image 1"
        description= u"This is a test image."
    def testATNewsItemAdapter(self):
        self.setRoles(('Manager',))
 
        title = u"Test News Item 1"
        description = u"This is a test news item."

src/p/r/Products.BlingPortlet-2.1/Products/BlingPortlet/tests/test_bling_slideshow_portlet.py   Products.BlingPortlet(Download)
    def afterSetUp(self):
        self.setRoles(('Manager',))
 
    def testPortletTypeRegistered(self):
        portlet = getUtility(IPortletType, name='Products.BlingPortlet.blingslideshow')
    def afterSetUp(self):
        self.setRoles(('Manager',))
 
    def renderer(self, context=None, request=None, view=None, manager=None, assignment=None):
        context = context or self.folder