[Zope-Checkins]
CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex/tests
- testTopicIndex.py:1.5.30.3
Gary Poster
gary at zope.com
Wed Dec 31 17:39:31 EST 2003
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv14431/tests
Modified Files:
Tag: Zope-2_7-branch
testTopicIndex.py
Log Message:
I zigged when I should have zagged in my last checkin: the TopicIndex results need to remain IITreeSets. I made the necessary corresponding change to the tests.
=== Zope/lib/python/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py 1.5.30.2 => 1.5.30.3 ===
--- Zope/lib/python/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py:1.5.30.2 Wed Dec 31 16:09:25 2003
+++ Zope/lib/python/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py Wed Dec 31 17:39:30 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