[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog/tests - testCatalog.py:1.15
Shane Hathaway
shane@cvs.zope.org
Tue, 30 Jul 2002 11:05:29 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCatalog/tests
In directory cvs.zope.org:/tmp/cvs-serv10026/tests
Modified Files:
testCatalog.py
Log Message:
Changed unit test docstring to a comment, since the method name is descriptive enough
=== Zope/lib/python/Products/ZCatalog/tests/testCatalog.py 1.14 => 1.15 ===
assert len(a) == self.upper
def testKeywordIndexWithMinMaxRangeWrongSyntax(self):
- """checkKeywordIndex with min/max range wrong syntax - known to fail.
- But because it will fail we need to change the assert statement
- so the unittest will pass *crazy world*
- """
+ # checkKeywordIndex with min/max range wrong syntax.
a = self._catalog(att3=['att'], att3_usage='range:min:max')
assert len(a) != self.upper