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

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

src/c/o/collective.portlet.rich-0.4/collective/portlet/rich/tests/test_portlet.py   collective.portlet.rich(Download)
from collective.portlet.rich.tests import base
 
from collective.formlib.link.field import InternalLink, ExternalLink
 
class TestPortlet(base.TestCase):
    def test_render_list_links_internal(self):
        links = (
            InternalLink(self.portal['front-page'].UID(),
                         u'Internal link title 1',
                         u'Internal link description 1'),
            InternalLink(self.portal['news'].UID(),