[Zope-Checkins] SVN: Zope/trunk/src/Products/ZCatalog/tests/test_catalog.py We don't need products anymore

Hanno Schlichting hannosch at hannosch.eu
Sat Jul 31 17:06:26 EDT 2010


Log message for revision 115285:
  We don't need products anymore
  

Changed:
  U   Zope/trunk/src/Products/ZCatalog/tests/test_catalog.py

-=-
Modified: Zope/trunk/src/Products/ZCatalog/tests/test_catalog.py
===================================================================
--- Zope/trunk/src/Products/ZCatalog/tests/test_catalog.py	2010-07-31 21:04:42 UTC (rev 115284)
+++ Zope/trunk/src/Products/ZCatalog/tests/test_catalog.py	2010-07-31 21:06:25 UTC (rev 115285)
@@ -41,10 +41,6 @@
 
 
 def createDatabase():
-    # XXX We have to import and init products in order for PluginIndexes to
-    # be registered.
-    OFS.Application.import_products()
-
     # Create a DemoStorage and put an Application in it
     db = DB(DemoStorage())
     conn = db.open()
@@ -52,11 +48,6 @@
     app = OFS.Application.Application()
     root['Application'] = app
     transaction.commit()
-
-    # Init products
-    #OFS.Application.initialize(app)
-    OFS.Application.install_products(app) # XXX: this is still icky
-
     return app
 
 app = createDatabase()



More information about the Zope-Checkins mailing list