[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TopicIndex/test - testTopicIndex.py:1.1.2.6
Andreas Jung
andreas@zope.com
Wed, 28 Nov 2001 09:23:05 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TopicIndex/test
In directory cvs.zope.org:/tmp/cvs-serv30577/Products/PluginIndexes/TopicIndex/test
Modified Files:
Tag: ajung-topicindex
testTopicIndex.py
Log Message:
changed assert statements
=== Zope/lib/python/Products/PluginIndexes/TopicIndex/test/testTopicIndex.py 1.1.2.5 => 1.1.2.6 ===
expected.sort()
- if rows != expected:
- print "query:i ", query
- print "index means:",rows
- print "expected: ",expected
- raise AssertionError
+ self.assertEqual(rows,expected,query)
return rows
@@ -119,11 +115,7 @@
rows.sort()
expected.sort()
- if rows != expected:
- print "query: ", query
- print "result: ",rows
- print "expected: ",expected
- raise AssertionError
+ self.assertEqual(rows,expected,query)
return rows,res