[Zodb-checkins] CVS: ZODB3/ZEO/tests - testConnection.py:1.7 testZEO.py:1.59

Barry Warsaw barry@wooz.org
Wed, 18 Dec 2002 17:15:35 -0500


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

Modified Files:
	testConnection.py testZEO.py 
Log Message:
For alignment with ZODB4, renaming these storages for ZODB3 3.2.

bsddb3Storage becomes BDBStorage
Full becomes BDBFullStorage
Minimal becomes BDBMinimalStorage

Removing MinimalReplicated.py, Packless.py, and base.py


=== ZODB3/ZEO/tests/testConnection.py 1.6 => 1.7 ===
--- ZODB3/ZEO/tests/testConnection.py:1.6	Mon Dec 16 18:35:11 2002
+++ ZODB3/ZEO/tests/testConnection.py	Wed Dec 18 17:15:04 2002
@@ -38,10 +38,9 @@
 
 class BerkeleyStorageConfig:
     def getConfig(self, path, create, read_only):
-        # Full always creates and doesn't have a read_only flag
         return """\
         <Storage>
-            type Full
+            type BDBFullStorage
             name %s
             read_only %s
         </Storage>""" % (path, read_only)
@@ -77,7 +76,7 @@
 
 test_classes = [FileStorageConnectionTests, FileStorageReconnectionTests]
 try:
-    from bsddb3Storage.Full import Full
+    from BDBStorage.BDBFullStorage import BDBFullStorage
 except ImportError:
     pass
 else:


=== ZODB3/ZEO/tests/testZEO.py 1.58 => 1.59 ===
--- ZODB3/ZEO/tests/testZEO.py:1.58	Fri Dec 13 14:41:33 2002
+++ ZODB3/ZEO/tests/testZEO.py	Wed Dec 18 17:15:04 2002
@@ -160,14 +160,14 @@
 
 
 class BDBTests(FileStorageTests):
-    """ZEO backed by a Berkeley Full storage."""
+    """ZEO backed by a Berkeley full storage."""
 
     def getStorage(self):
         self._envdir = tempfile.mktemp()
         # Return a 1-tuple
         return """\
         <Storage>
-            type Full
+            type BDBFullStorage
             name %s
         </Storage>
         """ % self._envdir
@@ -176,7 +176,7 @@
 
 test_classes = [FileStorageTests]
 try:
-    from bsddb3Storage.Full import Full
+    from BDBStorage.BDBFullStorage import BDBFullStorage
 except ImportError:
     pass
 else: