[Zope-Checkins] CVS: Zope/lib/python/Products/Transience/tests - testTransientObjectContainer.py:1.6
Chris McDonough
chrism@zope.com
Mon, 26 Nov 2001 10:29:27 -0500
Update of /cvs-repository/Zope/lib/python/Products/Transience/tests
In directory cvs.zope.org:/tmp/cvs-serv12262/tests
Modified Files:
testTransientObjectContainer.py
Log Message:
Removed unnecessary imports. Removed some debugging code. Tests now pass on Cygwin.
=== Zope/lib/python/Products/Transience/tests/testTransientObjectContainer.py 1.5 => 1.6 ===
for x in range(10, 110):
self.t[x] = x
- fauxtime.sleep(self.timeout * (self.errmargin+1))
+ fauxtime.sleep(self.timeout)
assert len(self.t.keys()) == 100, len(self.t.keys())
fauxtime.sleep(self.timeout * (self.errmargin+1))
assert len(self.t.keys()) == 0, len(self.t.keys())
@@ -394,9 +394,9 @@
self.t._reset()
for x in range(10, 110):
self.t[x] = x
- fauxtime.sleep(self.timeout * (self.errmargin+1))
+ fauxtime.sleep(self.timeout)
assert len(self.t.keys()) == 100, len(self.t.keys())
- fauxtime.sleep(self.timeout * (self.errmargin+1))
+ fauxtime.sleep(self.timeout)
assert len(self.t.keys()) == 100, len(self.t.keys())
fauxtime.sleep(self.timeout * (self.errmargin+1))
assert len(self.t.keys()) == 0, len(self.t.keys())