[Neo-report] r1979 vincent - /trunk/neo/tests/zodb/testUndo.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Mar 26 18:28:43 CET 2010
Author: vincent
Date: Fri Mar 26 18:28:43 2010
New Revision: 1979
Log:
Disable broken ZODB undo test, and explain what is broken.
Modified:
trunk/neo/tests/zodb/testUndo.py
Modified: trunk/neo/tests/zodb/testUndo.py
==============================================================================
--- trunk/neo/tests/zodb/testUndo.py [iso-8859-1] (original)
+++ trunk/neo/tests/zodb/testUndo.py [iso-8859-1] Fri Mar 26 18:28:43 2010
@@ -26,6 +26,15 @@
ConflictResolvingTransUndoStorage):
pass
+# Don't run this test. It cannot run with pipelined store, and is not executed
+# on Zeo - but because Zeo doesn't have an iterator, while Neo has.
+# Note that it is possible to run this test on Neo with a simple fix:
+# instead of expecting "store" to return object's serial, it should
+# just load it after commit, and keep its serial.
+# When iterator is fully implemented in Neo, a fork of that test should be
+# done with above fix.
+del TransactionalUndoStorage.checkTransactionalUndoIterator
+
if __name__ == "__main__":
suite = unittest.makeSuite(UndoTests, 'check')
unittest.main(defaultTest='suite')
More information about the Neo-report
mailing list