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 testAddFile(self):
        self.loginAsPortalOwner()
        foo_file = in_utils.addFile(self.portal, 'foo', 'Foo')
        self.failUnlessEqual(foo_file.title_or_id(), 'Foo')
        return