[Zodb-checkins] CVS: ZODB3/ZODB/tests - PackableStorage.py:1.20.8.1 testPersistentList.py:1.3.36.1 testRecover.py:1.3.10.1 testZODB.py:1.15.10.1

Tim Peters tim.one at comcast.net
Tue Jul 1 17:55:45 EDT 2003


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

Modified Files:
      Tag: zodb33-devel-branch
	PackableStorage.py testPersistentList.py testRecover.py 
	testZODB.py 
Log Message:
Fixed some Peristent{List,Mapping} imports.


=== ZODB3/ZODB/tests/PackableStorage.py 1.20 => 1.20.8.1 ===
--- ZODB3/ZODB/tests/PackableStorage.py:1.20	Fri May 30 15:04:54 2003
+++ ZODB3/ZODB/tests/PackableStorage.py	Tue Jul  1 16:55:43 2003
@@ -128,7 +128,7 @@
         try:
             self._storage.load(ZERO, '')
         except KeyError:
-            import PersistentMapping
+            from Persistence import PersistentMapping
             from ZODB.Transaction import Transaction
             file = StringIO()
             p = cPickle.Pickler(file, 1)


=== ZODB3/ZODB/tests/testPersistentList.py 1.3 => 1.3.36.1 ===
--- ZODB3/ZODB/tests/testPersistentList.py:1.3	Thu Dec  5 19:00:52 2002
+++ ZODB3/ZODB/tests/testPersistentList.py	Tue Jul  1 16:55:43 2003
@@ -15,7 +15,7 @@
 """
 
 import unittest
-from ZODB.PersistentList import PersistentList
+from Persistence.PersistentList import PersistentList
 
 l0 = []
 l1 = [0]


=== ZODB3/ZODB/tests/testRecover.py 1.3 => 1.3.10.1 ===
--- ZODB3/ZODB/tests/testRecover.py:1.3	Fri May 30 16:00:27 2003
+++ ZODB3/ZODB/tests/testRecover.py	Tue Jul  1 16:55:43 2003
@@ -23,9 +23,10 @@
 
 import ZODB
 from ZODB.FileStorage import FileStorage
-from ZODB.PersistentMapping import PersistentMapping
 from ZODB.fsrecover import recover
 from ZODB.tests.StorageTestBase import removefs
+
+from Persistence import PersistentMapping
 
 from ZODB.fsdump import Dumper
 


=== ZODB3/ZODB/tests/testZODB.py 1.15 => 1.15.10.1 ===
--- ZODB3/ZODB/tests/testZODB.py:1.15	Thu May  8 18:43:30 2003
+++ ZODB3/ZODB/tests/testZODB.py	Tue Jul  1 16:55:43 2003
@@ -17,10 +17,10 @@
 
 import ZODB
 import ZODB.FileStorage
-from ZODB.PersistentMapping import PersistentMapping
 from ZODB.POSException import ReadConflictError, ConflictError
 from ZODB.tests.StorageTestBase import removefs
 from Persistence import Persistent
+from Persistence import PersistentMapping
 
 class P(Persistent):
     pass




More information about the Zodb-checkins mailing list