[Zodb-checkins] SVN: ZODB/branches/jim-storage-api-cleanup/src/ZODB/tests/BasicStorage.py getExtensionMethods isn't part of the storage API. For now, it is an

Jim Fulton jim at zope.com
Thu Apr 26 14:28:11 EDT 2007


Log message for revision 74808:
  getExtensionMethods isn't part of the storage API.  For now, it is an
  unoffial ZEO feature.
  

Changed:
  U   ZODB/branches/jim-storage-api-cleanup/src/ZODB/tests/BasicStorage.py

-=-
Modified: ZODB/branches/jim-storage-api-cleanup/src/ZODB/tests/BasicStorage.py
===================================================================
--- ZODB/branches/jim-storage-api-cleanup/src/ZODB/tests/BasicStorage.py	2007-04-26 18:28:08 UTC (rev 74807)
+++ ZODB/branches/jim-storage-api-cleanup/src/ZODB/tests/BasicStorage.py	2007-04-26 18:28:10 UTC (rev 74808)
@@ -28,8 +28,6 @@
 
 ZERO = '\0'*8
 
-
-
 class BasicStorage:
     def checkBasics(self):
         t = transaction.Transaction()
@@ -224,10 +222,3 @@
         self._storage.store(oid, ZERO, zodb_pickle(MinPO(5)), '', t)
         self._storage.tpc_vote(t)
         self._storage.tpc_finish(t)
-
-    def checkGetExtensionMethods(self):
-        m = self._storage.getExtensionMethods()
-        self.assertEqual(type(m),type({}))
-        for k,v in m.items():
-            self.assertEqual(v,None)
-            self.assert_(callable(getattr(self._storage,k)))



More information about the Zodb-checkins mailing list