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

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

src/f/t/ftw.contentpage-1.6.5/ftw/contentpage/tests/test_news_portlets_functional.py   ftw.contentpage(Download)
                         'show_rss_link is not enabled.')
 
        doc = PyQuery(renderer.render())
        self.assertFalse(doc('.RssLink'),
                         'There should be no link in the portlet')
                         'show_rss_link is enabled')
 
        doc = PyQuery(renderer.render())
        self.assertTrue(doc('.RssLink'),
                         'There should be a RSS link in the portlet')