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

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

src/b/a/BAPDatabase-0.5.0/Products/BAPDatabase/tests/testFunctional.py   BAPDatabase(Download)
    def afterSetUp(self):
        from Products.Naaya.NyFolder import addNyFolder
        from Products.BAPDatabase.BAPDatabase import manage_add_bap
        addNyFolder(self.portal, 'countries', contributor='admin', submitted=1)
        #add a country
        addNyFolder(self.portal.countries, id='austria', title='Austria', contributor='admin', submitted=1)
        addNyFolder(self.portal.countries, id='france', title='France', contributor='admin', submitted=1)
        manage_add_bap(self.portal,