Commit a4ccd5f0 authored by Jim Fulton's avatar Jim Fulton

Changed an old loadEx test to use load.

parent f595f7e7
...@@ -57,12 +57,12 @@ class DemoStorageTests(StorageTestBase.StorageTestBase, ...@@ -57,12 +57,12 @@ class DemoStorageTests(StorageTestBase.StorageTestBase,
def checkPackVersionsInPast(self): def checkPackVersionsInPast(self):
pass pass
def checkLoadExDelegation(self): def checkLoadDelegation(self):
# Minimal test of loadEX w/o version -- ironically # Minimal test of loadEX w/o version -- ironically
db = DB(self._storage) # creates object 0. :) db = DB(self._storage) # creates object 0. :)
s2 = ZODB.DemoStorage.DemoStorage(base=self._storage) s2 = ZODB.DemoStorage.DemoStorage(base=self._storage)
self.assertEqual(s2.loadEx(ZODB.utils.z64, ''), self.assertEqual(s2.load(ZODB.utils.z64, ''),
self._storage.loadEx(ZODB.utils.z64, '')) self._storage.load(ZODB.utils.z64, ''))
class DemoStorageWrappedBase(DemoStorageTests): class DemoStorageWrappedBase(DemoStorageTests):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment