[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex/tests - testTopicIndex.py:1.2
Casey Duncan
casey@zope.com
Tue, 11 Jun 2002 16:20:42 -0400
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv28876/lib/python/Products/PluginIndexes/TopicIndex/tests
Modified Files:
testTopicIndex.py
Log Message:
Removed vocabulary management from catalog/ZCatalog. They now have no awareness of vocabularies.
The only API change was the removal of the getVocabulary method from ZCatalog.
Old-style TextIndexes can now acquire a Vocabulary from anywhere.
No Indexes, metadata or vocabulary objects are created automatically by ZCatalog.
=== Zope/lib/python/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py 1.1 => 1.2 ===
self.cat = ZCatalog('catalog')
+ self.cat.addColumn('id')
self.cat.addIndex('topic','TopicIndex')
self.TI = self.cat._catalog.indexes['topic']