[Zodb-checkins] CVS: ZODB3/ZEO/tests - CommitLockTests.py:1.12.20.3 multi.py:1.10.68.1 speed.py:1.9.74.1

Jim Fulton cvs-admin at zope.org
Tue Oct 28 16:29:07 EST 2003


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv9166/ZEO/tests

Modified Files:
      Tag: zodb33-devel-branch
	CommitLockTests.py multi.py speed.py 
Log Message:
Renamed the Persistence package to persistent.

The Persistence package is still there for backward compatability.


=== ZODB3/ZEO/tests/CommitLockTests.py 1.12.20.2 => 1.12.20.3 ===
--- ZODB3/ZEO/tests/CommitLockTests.py:1.12.20.2	Tue Jul  1 16:57:11 2003
+++ ZODB3/ZEO/tests/CommitLockTests.py	Tue Oct 28 16:28:31 2003
@@ -17,7 +17,7 @@
 import time
 
 from ZODB.Transaction import Transaction
-from Persistence.TimeStamp import TimeStamp
+from persistent.TimeStamp import TimeStamp
 from ZODB.tests.StorageTestBase import zodb_pickle, MinPO
 
 import ZEO.ClientStorage


=== ZODB3/ZEO/tests/multi.py 1.10 => 1.10.68.1 ===
--- ZODB3/ZEO/tests/multi.py:1.10	Thu Sep 26 11:23:08 2002
+++ ZODB3/ZEO/tests/multi.py	Tue Oct 28 16:28:31 2003
@@ -15,8 +15,8 @@
 # XXX This code is currently broken.
 
 import ZODB, ZODB.DB, ZODB.FileStorage, ZODB.POSException
-import Persistence
-import PersistentMapping
+import persistent
+import persistent.mapping
 from ZEO.tests import forker
 
 import asyncore
@@ -32,7 +32,7 @@
 CONNECT_DELAY = 0.1
 CLIENT_CACHE = '' # use temporary cache
 
-class Record(Persistence.Persistent):
+class Record(persistent.Persistent):
     def __init__(self, client=None, value=None):
         self.client = client
         self.value = None
@@ -41,7 +41,7 @@
     def set_next(self, next):
         self.next = next
 
-class Stats(Persistence.Persistent):
+class Stats(persistent.Persistent):
     def __init__(self):
         self.begin = time.time()
         self.end = None
@@ -57,7 +57,7 @@
 
     db = ZODB.DB(fs)
     root = db.open().root()
-    root["multi"] = PersistentMapping.PersistentMapping()
+    root["multi"] = persistent.mapping.PersistentMapping()
     get_transaction().commit()
 
     return fs


=== ZODB3/ZEO/tests/speed.py 1.9 => 1.9.74.1 ===
--- ZODB3/ZEO/tests/speed.py:1.9	Thu Sep  5 15:28:07 2002
+++ ZODB3/ZEO/tests/speed.py	Tue Oct 28 16:28:31 2003
@@ -46,12 +46,12 @@
 ##sys.path.insert(0, os.getcwd())
 
 import ZODB, ZODB.FileStorage
-import Persistence
+import persistent
 import ZEO.ClientStorage, ZEO.StorageServer
 from ZEO.tests import forker
 from ZODB.POSException import ConflictError
 
-class P(Persistence.Persistent):
+class P(persistent.Persistent):
     pass
 
 fs_name = "zeo-speed.fs"




More information about the Zodb-checkins mailing list