[Zope-Checkins]
CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex/tests
- testTopicIndex.py:1.8
Gary Poster
gary at zope.com
Wed Dec 31 17:32:23 EST 2003
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv13187/tests
Modified Files:
testTopicIndex.py
Log Message:
I zigged when I should have zagged in my last checkins. The IITreeSet should remain unadulterated in the TopicIndex results, and the tests should adjust.
=== Zope/lib/python/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py 1.7 => 1.8 ===
--- Zope/lib/python/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py:1.7 Wed Dec 31 16:18:04 2003
+++ Zope/lib/python/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py Wed Dec 31 17:32:21 2003
@@ -35,7 +35,7 @@
def _search(self,query,operator,expected):
res = self.TI._apply_index({'topic':{'query':query,'operator':operator}})
- rows = list(res[0])
+ rows = list(res[0].keys())
rows.sort()
expected.sort()
self.assertEqual(rows,expected,query)
More information about the Zope-Checkins
mailing list