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

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

src/p/r/Products.CMFBibliographyAT-1.1.4.1/Products/CMFBibliographyAT/tests/testMigration.py   Products.CMFBibliographyAT(Download)
 
        migration = Migration(self.portal, out)
        migration.migrateTool(self.folder)
 
        self.failIf('Renderers' in self.folder.objectIds())
        self.failIf('Parsers' in self.folder.objectIds())
 
        # run again to make sure, it's safe.
        migration.migrateTool(self.folder)
        assert 'Parsers' in self.folder.objectIds()
 
        migration.migrateTool(self.folder)
 
        self.failIf('Parsers' in self.folder.objectIds())