[Zodb-checkins] CVS: Zope3/src/zodb/storage/tests - test_autopack.py:1.13

Barry Warsaw barry@wooz.org
Mon, 17 Mar 2003 15:25:18 -0500


Update of /cvs-repository/Zope3/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv24641

Modified Files:
	test_autopack.py 
Log Message:
classicpack -> gcpack

autopack -> pack


=== Zope3/src/zodb/storage/tests/test_autopack.py 1.12 => 1.13 ===
--- Zope3/src/zodb/storage/tests/test_autopack.py:1.12	Fri Mar 14 17:02:26 2003
+++ Zope3/src/zodb/storage/tests/test_autopack.py	Mon Mar 17 15:25:17 2003
@@ -48,7 +48,7 @@
         # Autopack every 1 second, 2 seconds into the past, no classic packs
         config.frequency = 1
         config.packtime = 2
-        config.classicpack = 0
+        config.gcpack = 0
         return config
 
     def _wait_for_next_autopack(self):
@@ -103,7 +103,7 @@
         # every time.
         config.frequency = 1
         config.packtime = 2
-        config.classicpack = 1
+        config.gcpack = 1
         return config
 
     def testAutomaticClassicPack(self):
@@ -447,7 +447,7 @@
         self._storage = storage
 
     def run(self):
-        self._storage.autopack(time.time(), gc=True)
+        self._storage.pack(time.time(), gc=True)
 
 
 class TestFullClassicPackRaceCondition(RaceConditionBase):