[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog/regressiontests - regressionCatalogTiming.py:1.3
Steve Alexander
steve@cat-box.net
Fri, 5 Oct 2001 14:39:32 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCatalog/regressiontests
In directory cvs.zope.org:/tmp/cvs-serv26714/regressiontests
Modified Files:
regressionCatalogTiming.py
Log Message:
Merge ZCatalog API cleanup into trunk.
=== Zope/lib/python/Products/ZCatalog/regressiontests/regressionCatalogTiming.py 1.2 => 1.3 ===
c = self.app.catalogtest.catalog
for x in ('title', 'to', 'from', 'date', 'raw'):
- try: c.manage_delIndexes([x])
+ try: c.manage_delIndex([x])
except: pass
c.manage_addIndex('title', 'TextIndex')
c.manage_addIndex('to', 'TextIndex')