[Zodb-checkins] CVS: ZODB3/ZODB/tests - testCache.py:1.17.8.1
Jim Fulton
jim at zope.com
Fri Jan 23 15:44:26 EST 2004
Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv1449/src/ZODB/tests
Modified Files:
Tag: zope3-zodb3-devel-branch
testCache.py
Log Message:
Changed the cache minimize and full-sweep calls to no-longer pass
arguments. Arguments are no longer expected in these calls.
=== ZODB3/ZODB/tests/testCache.py 1.17 => 1.17.8.1 ===
--- ZODB3/ZODB/tests/testCache.py:1.17 Fri Nov 28 11:44:54 2003
+++ ZODB3/ZODB/tests/testCache.py Fri Jan 23 15:44:25 2004
@@ -102,14 +102,14 @@
def checkFullSweep(self):
old_size = self.db.cacheSize()
time.sleep(3)
- self.db.cacheFullSweep(0)
+ self.db.cacheFullSweep()
new_size = self.db.cacheSize()
self.assert_(new_size < old_size, "%s < %s" % (old_size, new_size))
def checkMinimize(self):
old_size = self.db.cacheSize()
time.sleep(3)
- self.db.cacheMinimize(0)
+ self.db.cacheMinimize()
new_size = self.db.cacheSize()
self.assert_(new_size < old_size, "%s < %s" % (old_size, new_size))
More information about the Zodb-checkins
mailing list