[ZPT] CVS: Packages/ZTUtils/tests - testBatch.py:1.2

Amos Latteier amos@zope.com
Tue, 2 Oct 2001 14:34:31 -0400


Update of /cvs-repository/Packages/ZTUtils/tests
In directory cvs.zope.org:/tmp/cvs-serv1283/tests

Modified Files:
	testBatch.py 
Log Message:
changed the batch orphan default from 3 to 0, bringing it in line with the dtml-in orphan default

=== Packages/ZTUtils/tests/testBatch.py 1.1 => 1.2 ===
         '''Test orphan collection'''
         for bsize in (6, 7):
-            b = Batch(range(bsize), 5)
+            b = Batch(range(bsize), 5, orphan=3)
             assert b.next is None
             assert len(b) == bsize
         b = Batch(range(8), 5)