[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/tests/IteratorStorage.py Changed a test that tested a missfeatre to test a feature.
Jim Fulton
jim at zope.com
Sat Oct 25 20:36:29 EDT 2008
Log message for revision 92564:
Changed a test that tested a missfeatre to test a feature.
Changed:
U ZODB/trunk/src/ZODB/tests/IteratorStorage.py
-=-
Modified: ZODB/trunk/src/ZODB/tests/IteratorStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/IteratorStorage.py 2008-10-26 00:36:27 UTC (rev 92563)
+++ ZODB/trunk/src/ZODB/tests/IteratorStorage.py 2008-10-26 00:36:28 UTC (rev 92564)
@@ -138,8 +138,7 @@
self._dostore()
tinfo = self._storage.iterator().next()
self.assertEquals(1, len(list(tinfo)))
- # The iterator can only be consumed once:
- self.assertEquals(0, len(list(tinfo)))
+ self.assertEquals(1, len(list(tinfo)))
def checkIterateWhileWriting(self):
self._dostore()
More information about the Zodb-checkins
mailing list