[Zope-Checkins] SVN: Zope/trunk/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py Fixed assert statement

Hanno Schlichting plone at hannosch.info
Mon Apr 20 16:39:17 EDT 2009


Log message for revision 99335:
  Fixed assert statement

Changed:
  U   Zope/trunk/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py

-=-
Modified: Zope/trunk/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py
===================================================================
--- Zope/trunk/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py	2009-04-20 20:36:37 UTC (rev 99334)
+++ Zope/trunk/src/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py	2009-04-20 20:39:16 UTC (rev 99335)
@@ -148,9 +148,7 @@
             kw = sortedUnique(v.foo())
             self.assertEqual(entry, kw)
 
-        assert (len( self._index.uniqueValues( 'foo' ) ) == len( values )-1,
-                len(values)-1)
-
+        assert len( self._index.uniqueValues( 'foo' ) ) == len( values )-1
         assert self._index._apply_index( self._noop_req ) is None
 
         self._checkApply( self._all_req, values[:-1])



More information about the Zope-Checkins mailing list