[Zodb-checkins] SVN: ZODB/branches/3.9/src/ZODB/tests/testFileStorage.py Fixed stupid test bug. It's a but disturbing that the affected test
Jim Fulton
jim at zope.com
Thu Oct 1 15:17:28 EDT 2009
Log message for revision 104696:
Fixed stupid test bug. It's a but disturbing that the affected test
usually passed. :(
Changed:
U ZODB/branches/3.9/src/ZODB/tests/testFileStorage.py
-=-
Modified: ZODB/branches/3.9/src/ZODB/tests/testFileStorage.py
===================================================================
--- ZODB/branches/3.9/src/ZODB/tests/testFileStorage.py 2009-10-01 18:48:49 UTC (rev 104695)
+++ ZODB/branches/3.9/src/ZODB/tests/testFileStorage.py 2009-10-01 19:17:28 UTC (rev 104696)
@@ -219,6 +219,7 @@
from ZODB.utils import U64, p64
from ZODB.FileStorage.format import CorruptedError
+ from ZODB.serialize import referencesf
db = DB(self._storage)
conn = db.open()
@@ -251,7 +252,7 @@
# Try to pack. This used to yield
# NameError: global name 's' is not defined
try:
- self._storage.pack(time.time(), None)
+ self._storage.pack(time.time(), referencesf)
except CorruptedError, detail:
self.assert_("redundant transaction length does not match "
"initial transaction length" in str(detail))
More information about the Zodb-checkins
mailing list