[Zope-Checkins] CVS: Zope/lib/python/Products/Transience/tests - testTransientObjectContainer.py:1.14.26.1

Jim Fulton cvs-admin at zope.org
Thu Nov 27 10:34:27 EST 2003


Update of /cvs-repository/Zope/lib/python/Products/Transience/tests
In directory cvs.zope.org:/tmp/cvs-serv7869/lib/python/Products/Transience/tests

Modified Files:
      Tag: Zope-2_8-devel-branch
	testTransientObjectContainer.py 
Log Message:
Got tests to pass except test that was previously (and still) failing
on head.


=== Zope/lib/python/Products/Transience/tests/testTransientObjectContainer.py 1.14 => 1.14.26.1 ===
--- Zope/lib/python/Products/Transience/tests/testTransientObjectContainer.py:1.14	Thu May 15 11:21:53 2003
+++ Zope/lib/python/Products/Transience/tests/testTransientObjectContainer.py	Thu Nov 27 10:33:56 2003
@@ -388,7 +388,8 @@
         # This test must not time out else it will fail.
         self.t._setTimeout(self.timeout)  # make timeout extremely unlikely
         added = {}
-        r = range(10, 1010)
+        n = 1000
+        r = range(10, 10+n)
         for x in r:
             k = random.choice(r)
             self.t[k] = x




More information about the Zope-Checkins mailing list