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

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

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_ContentTypeRegistry.py   Products.CMFCore(Download)
    def _makeOne(self, *args, **kw):
        from Products.CMFCore.ContentTypeRegistry import ContentTypeRegistry
 
        return ContentTypeRegistry(*args, **kw)
 
    def setUp( self ):
        self.reg = self._makeOne()
 
    def test_interfaces(self):
        from Products.CMFCore.ContentTypeRegistry import ContentTypeRegistry

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/exportimport/tests/test_contenttyperegistry.py   Products.CMFCore(Download)
    def setUp(self):
        from Products.CMFCore.ContentTypeRegistry import ContentTypeRegistry
 
        self._obj = ContentTypeRegistry()
        self._BODY = _CTR_BODY
    def _initSite(self, mit_predikat=False):
        from Products.CMFCore.ContentTypeRegistry import ContentTypeRegistry
 
        self.root.site = Folder(id='site')
        site = self.root.site
        ctr = ContentTypeRegistry()