[ZPT] CVS: Packages/ZTUtils/tests - testBatch.py:1.3
Evan Simpson
evan@zope.com
Tue, 2 Oct 2001 16:54:50 -0400
Update of /cvs-repository/Packages/ZTUtils/tests
In directory cvs.zope.org:/tmp/cvs-serv31401/tests
Modified Files:
testBatch.py
Log Message:
Batch fixes.
=== Packages/ZTUtils/tests/testBatch.py 1.2 => 1.3 ===
assert b.next is None
assert len(b) == bsize
+ assert b[bsize - 1] == bsize - 1
b = Batch(range(8), 5)
assert len(b) == 5
assert len(b.next) == 3
-
-
+
def test_suite():
return unittest.makeSuite(BatchTests)