[ZPT] CVS: Packages/ZTUtils/tests - testBatch.py:1.1.4.2
Evan Simpson
evan@zope.com
Tue, 2 Oct 2001 16:55:00 -0400
Update of /cvs-repository/Packages/ZTUtils/tests
In directory cvs.zope.org:/tmp/cvs-serv31426/tests
Modified Files:
Tag: ztutils-1_1_0
testBatch.py
Log Message:
Batch fixes.
=== Packages/ZTUtils/tests/testBatch.py 1.1.4.1 => 1.1.4.2 ===
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)