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

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

src/i/w/iw.sitestat-1.0.0-beta-2/iw/sitestat/tests/test_testutils.py   iw.sitestat(Download)
    def testAddPloneArticle(self):
        if HAVE_PLONEARTICLE:
            self.loginAsPortalOwner()
            foo_article = in_utils.addPloneArticle(self.portal, 'art', 'Article')
            self.failUnlessEqual(foo_article.title_or_id(), 'Article')