Commit 2deffe15 authored by Stefan H. Holek's avatar Stefan H. Holek

Do away with DemoStorage quota.

parent 751d525e
......@@ -62,7 +62,7 @@ def makeConnection():
import ZODB
from ZODB.DemoStorage import DemoStorage
s = DemoStorage(quota=(1<<20))
s = DemoStorage()
return ZODB.DB( s ).open()
class CopySupportTestBase(unittest.TestCase):
......
......@@ -31,7 +31,7 @@ def makeConnection():
import ZODB
from ZODB.DemoStorage import DemoStorage
s = DemoStorage(quota=(1<<20))
s = DemoStorage()
return ZODB.DB( s ).open()
......
......@@ -28,7 +28,7 @@ def makeConnection():
import ZODB
from ZODB.DemoStorage import DemoStorage
s = DemoStorage(quota=(1<<20))
s = DemoStorage()
return ZODB.DB( s ).open()
def createBigFile():
......
......@@ -87,7 +87,7 @@ class TestTraverse( unittest.TestCase ):
from ZODB.DB import DB
from ZODB.DemoStorage import DemoStorage
s = DemoStorage(quota=(1<<20))
s = DemoStorage()
self.connection = DB(s).open()
try:
......
......@@ -45,7 +45,7 @@ stuff = {}
def _getDB():
db = stuff.get('db')
if not db:
ds = DemoStorage(quota=(1<<20))
ds = DemoStorage()
db = ZODB.DB(ds, pool_size=60)
conn = db.open()
root = conn.root()
......
......@@ -29,7 +29,7 @@ def _getApp():
app = stuff.get('app', None)
if not app:
ds = DemoStorage(quota=(1<<20))
ds = DemoStorage()
db = ZODB.DB(ds)
conn = db.open()
root = conn.root()
......
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