Commit 138b3120 authored by Tim Peters's avatar Tim Peters

testDocUpdate(): assert that the common and unique wordsets aren't

empty.
parent 4fe5e70c
......@@ -174,6 +174,8 @@ class ZCIndexTestsBase:
unique.setdefault(versionlist[0], []).append(w)
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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment