[Zope-Checkins] SVN: Zope/trunk/lib/python/ Do away with DemoStorage quota.
Stefan H. Holek
stefan at epy.co.at
Mon Jan 26 16:40:49 EST 2009
Log message for revision 95055:
Do away with DemoStorage quota.
Changed:
U Zope/trunk/lib/python/OFS/tests/testCopySupport.py
U Zope/trunk/lib/python/OFS/tests/testFileAndImage.py
U Zope/trunk/lib/python/OFS/tests/testRanges.py
U Zope/trunk/lib/python/OFS/tests/testTraverse.py
U Zope/trunk/lib/python/Products/Sessions/tests/testSessionDataManager.py
U Zope/trunk/lib/python/Products/Transience/tests/testTimeoutRelated.py
-=-
Modified: Zope/trunk/lib/python/OFS/tests/testCopySupport.py
===================================================================
--- Zope/trunk/lib/python/OFS/tests/testCopySupport.py 2009-01-26 20:41:20 UTC (rev 95054)
+++ Zope/trunk/lib/python/OFS/tests/testCopySupport.py 2009-01-26 21:40:49 UTC (rev 95055)
@@ -62,7 +62,7 @@
import ZODB
from ZODB.DemoStorage import DemoStorage
- s = DemoStorage(quota=(1<<20))
+ s = DemoStorage()
return ZODB.DB( s ).open()
class CopySupportTestBase(unittest.TestCase):
Modified: Zope/trunk/lib/python/OFS/tests/testFileAndImage.py
===================================================================
--- Zope/trunk/lib/python/OFS/tests/testFileAndImage.py 2009-01-26 20:41:20 UTC (rev 95054)
+++ Zope/trunk/lib/python/OFS/tests/testFileAndImage.py 2009-01-26 21:40:49 UTC (rev 95055)
@@ -31,7 +31,7 @@
import ZODB
from ZODB.DemoStorage import DemoStorage
- s = DemoStorage(quota=(1<<20))
+ s = DemoStorage()
return ZODB.DB( s ).open()
Modified: Zope/trunk/lib/python/OFS/tests/testRanges.py
===================================================================
--- Zope/trunk/lib/python/OFS/tests/testRanges.py 2009-01-26 20:41:20 UTC (rev 95054)
+++ Zope/trunk/lib/python/OFS/tests/testRanges.py 2009-01-26 21:40:49 UTC (rev 95055)
@@ -28,7 +28,7 @@
import ZODB
from ZODB.DemoStorage import DemoStorage
- s = DemoStorage(quota=(1<<20))
+ s = DemoStorage()
return ZODB.DB( s ).open()
def createBigFile():
Modified: Zope/trunk/lib/python/OFS/tests/testTraverse.py
===================================================================
--- Zope/trunk/lib/python/OFS/tests/testTraverse.py 2009-01-26 20:41:20 UTC (rev 95054)
+++ Zope/trunk/lib/python/OFS/tests/testTraverse.py 2009-01-26 21:40:49 UTC (rev 95055)
@@ -87,7 +87,7 @@
from ZODB.DB import DB
from ZODB.DemoStorage import DemoStorage
- s = DemoStorage(quota=(1<<20))
+ s = DemoStorage()
self.connection = DB(s).open()
try:
Modified: Zope/trunk/lib/python/Products/Sessions/tests/testSessionDataManager.py
===================================================================
--- Zope/trunk/lib/python/Products/Sessions/tests/testSessionDataManager.py 2009-01-26 20:41:20 UTC (rev 95054)
+++ Zope/trunk/lib/python/Products/Sessions/tests/testSessionDataManager.py 2009-01-26 21:40:49 UTC (rev 95055)
@@ -45,7 +45,7 @@
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()
Modified: Zope/trunk/lib/python/Products/Transience/tests/testTimeoutRelated.py
===================================================================
--- Zope/trunk/lib/python/Products/Transience/tests/testTimeoutRelated.py 2009-01-26 20:41:20 UTC (rev 95054)
+++ Zope/trunk/lib/python/Products/Transience/tests/testTimeoutRelated.py 2009-01-26 21:40:49 UTC (rev 95055)
@@ -29,7 +29,7 @@
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()
More information about the Zope-Checkins
mailing list