[Zodb-checkins] CVS: ZODB3/ZODB/tests - ConflictResolution.py:1.10.36.2 MTStorage.py:1.10.4.2 MinPO.py:1.3.36.2 PackableStorage.py:1.20.8.4 TransactionalUndoStorage.py:1.32.8.4 dangle.py:1.1.56.2 speed.py:1.4.96.1 testCache.py:1.13.12.3 testPersistentList.py:1.3.36.3 testRecover.py:1.3.10.4 testTimeStamp.py:1.4.36.4 testZODB.py:1.15.10.4

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


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

Modified Files:
      Tag: zodb33-devel-branch
	ConflictResolution.py MTStorage.py MinPO.py PackableStorage.py 
	TransactionalUndoStorage.py dangle.py speed.py testCache.py 
	testPersistentList.py testRecover.py testTimeStamp.py 
	testZODB.py 
Log Message:
Renamed the Persistence package to persistent.

The Persistence package is still there for backward compatability.


=== ZODB3/ZODB/tests/ConflictResolution.py 1.10.36.1 => 1.10.36.2 ===
--- ZODB3/ZODB/tests/ConflictResolution.py:1.10.36.1	Tue Jul  1 16:57:20 2003
+++ ZODB3/ZODB/tests/ConflictResolution.py	Tue Oct 28 16:28:33 2003
@@ -15,7 +15,7 @@
 
 from ZODB.Transaction import Transaction
 from ZODB.POSException import ConflictError, UndoError
-from Persistence import Persistent
+from persistent import Persistent
 
 from ZODB.tests.StorageTestBase import zodb_unpickle, zodb_pickle
 


=== ZODB3/ZODB/tests/MTStorage.py 1.10.4.1 => 1.10.4.2 ===
--- ZODB3/ZODB/tests/MTStorage.py:1.10.4.1	Tue Jul  1 15:34:11 2003
+++ ZODB3/ZODB/tests/MTStorage.py	Tue Oct 28 16:28:33 2003
@@ -4,7 +4,7 @@
 import time
 
 import ZODB
-from Persistence.PersistentMapping import PersistentMapping
+from persistent.mapping import PersistentMapping
 
 from ZODB.tests.StorageTestBase \
      import StorageTestBase, zodb_pickle, zodb_unpickle, handle_serials


=== ZODB3/ZODB/tests/MinPO.py 1.3.36.1 => 1.3.36.2 ===
--- ZODB3/ZODB/tests/MinPO.py:1.3.36.1	Tue Jul  1 16:57:20 2003
+++ ZODB3/ZODB/tests/MinPO.py	Tue Oct 28 16:28:33 2003
@@ -13,7 +13,7 @@
 ##############################################################################
 """A minimal persistent object to use for tests"""
 
-from Persistence import Persistent
+from persistent import Persistent
 
 class MinPO(Persistent):
     def __init__(self, value=None):


=== ZODB3/ZODB/tests/PackableStorage.py 1.20.8.3 => 1.20.8.4 ===
--- ZODB3/ZODB/tests/PackableStorage.py:1.20.8.3	Tue Jul 15 14:20:23 2003
+++ ZODB3/ZODB/tests/PackableStorage.py	Tue Oct 28 16:28:33 2003
@@ -29,7 +29,7 @@
 import time
 
 from ZODB import DB
-from Persistence import Persistent
+from persistent import Persistent
 from ZODB.referencesf import referencesf
 from ZODB.tests.MinPO import MinPO
 from ZODB.tests.StorageTestBase import snooze
@@ -128,11 +128,11 @@
         try:
             self._storage.load(ZERO, '')
         except KeyError:
-            from Persistence import PersistentMapping
+            from persistent import mapping
             from ZODB.Transaction import Transaction
             file = StringIO()
             p = cPickle.Pickler(file, 1)
-            p.dump((PersistentMapping.PersistentMapping, None))
+            p.dump((mapping.PersistentMapping, None))
             p.dump({'_container': {}})
             t=Transaction()
             t.description='initial database creation'


=== ZODB3/ZODB/tests/TransactionalUndoStorage.py 1.32.8.3 => 1.32.8.4 ===
--- ZODB3/ZODB/tests/TransactionalUndoStorage.py:1.32.8.3	Tue Jul 15 14:18:01 2003
+++ ZODB3/ZODB/tests/TransactionalUndoStorage.py	Tue Oct 28 16:28:33 2003
@@ -25,7 +25,7 @@
 from ZODB.utils import u64, p64
 from ZODB import DB
 
-from Persistence import Persistent
+from persistent import Persistent
 from ZODB.tests.MinPO import MinPO
 from ZODB.tests.StorageTestBase import zodb_pickle, zodb_unpickle
 


=== ZODB3/ZODB/tests/dangle.py 1.1.56.1 => 1.1.56.2 ===
--- ZODB3/ZODB/tests/dangle.py:1.1.56.1	Tue Jul  1 16:57:20 2003
+++ ZODB3/ZODB/tests/dangle.py	Tue Oct 28 16:28:33 2003
@@ -21,7 +21,7 @@
 from ZODB.FileStorage import FileStorage
 from ZODB import DB
 
-from Persistence import Persistent
+from persistent import Persistent
 
 class P(Persistent):
     pass


=== ZODB3/ZODB/tests/speed.py 1.4 => 1.4.96.1 ===
--- ZODB3/ZODB/tests/speed.py:1.4	Wed Aug 14 18:07:09 2002
+++ ZODB3/ZODB/tests/speed.py	Tue Oct 28 16:28:33 2003
@@ -39,9 +39,9 @@
 sys.path.insert(0, os.getcwd())
 
 import ZODB, ZODB.FileStorage
-import Persistence
+import persistent
 
-class P(Persistence.Persistent): pass
+class P(persistent.Persistent): pass
 
 def main(args):
 


=== ZODB3/ZODB/tests/testCache.py 1.13.12.2 => 1.13.12.3 ===
--- ZODB3/ZODB/tests/testCache.py:1.13.12.2	Tue Jul  1 16:57:20 2003
+++ ZODB3/ZODB/tests/testCache.py	Tue Oct 28 16:28:33 2003
@@ -26,12 +26,12 @@
 import ZODB
 import ZODB.MappingStorage
 from ZODB.POSException import ConflictError
-from Persistence.cPickleCache import PickleCache
-from Persistence.PersistentMapping import PersistentMapping
+from persistent.cPickleCache import PickleCache
+from persistent.mapping import PersistentMapping
 from ZODB.tests.MinPO import MinPO
 from ZODB.utils import p64
 
-from Persistence import Persistent
+from persistent import Persistent
 
 class CacheTestBase(unittest.TestCase):
 


=== ZODB3/ZODB/tests/testPersistentList.py 1.3.36.2 => 1.3.36.3 ===
--- ZODB3/ZODB/tests/testPersistentList.py:1.3.36.2	Tue Jul  1 16:57:20 2003
+++ ZODB3/ZODB/tests/testPersistentList.py	Tue Oct 28 16:28:33 2003
@@ -15,7 +15,7 @@
 """
 
 import unittest
-from Persistence.PersistentList import PersistentList
+from persistent.list import PersistentList
 
 l0 = []
 l1 = [0]


=== ZODB3/ZODB/tests/testRecover.py 1.3.10.3 => 1.3.10.4 ===
--- ZODB3/ZODB/tests/testRecover.py:1.3.10.3	Tue Jul  1 17:03:52 2003
+++ ZODB3/ZODB/tests/testRecover.py	Tue Oct 28 16:28:33 2003
@@ -26,7 +26,7 @@
 from ZODB.fsrecover import recover
 from ZODB.tests.StorageTestBase import removefs
 
-from Persistence.PersistentMapping import PersistentMapping
+from persistent.mapping import PersistentMapping
 
 from ZODB.fsdump import Dumper
 


=== ZODB3/ZODB/tests/testTimeStamp.py 1.4.36.3 => 1.4.36.4 ===
--- ZODB3/ZODB/tests/testTimeStamp.py:1.4.36.3	Mon Jul  7 17:06:43 2003
+++ ZODB3/ZODB/tests/testTimeStamp.py	Tue Oct 28 16:28:33 2003
@@ -16,7 +16,7 @@
 import time
 import unittest
 
-from Persistence.TimeStamp import TimeStamp
+from persistent.TimeStamp import TimeStamp
 
 EPSILON = 0.000001
 


=== ZODB3/ZODB/tests/testZODB.py 1.15.10.3 => 1.15.10.4 ===
--- ZODB3/ZODB/tests/testZODB.py:1.15.10.3	Tue Jul  1 17:04:30 2003
+++ ZODB3/ZODB/tests/testZODB.py	Tue Oct 28 16:28:33 2003
@@ -19,8 +19,8 @@
 import ZODB.FileStorage
 from ZODB.POSException import ReadConflictError, ConflictError
 from ZODB.tests.StorageTestBase import removefs
-from Persistence import Persistent
-from Persistence.PersistentMapping import PersistentMapping
+from persistent import Persistent
+from persistent.mapping import PersistentMapping
 
 class P(Persistent):
     pass




More information about the Zodb-checkins mailing list