[Zope-CVS] CVS: Products/ZCTextIndex/tests - testZCTextIndex.py:1.23

Tim Peters tim.one@comcast.net
Fri, 17 May 2002 16:57:22 -0400


Update of /cvs-repository/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv15825/tests

Modified Files:
	testZCTextIndex.py 
Log Message:
testDocUpdate():  assert that the common and unique wordsets aren't
empty.


=== Products/ZCTextIndex/tests/testZCTextIndex.py 1.22 => 1.23 ===
             elif len(versionlist) == N:
                 common.append(w)
+        self.assert_(len(common) > 0)
+        self.assert_(len(unique) > 0)
 
         for version, i in zip(text, range(N)):
             doc = Indexable(version)