[Neo-report] r2416 vincent - /trunk/neo/tests/client/testClientApp.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 5 14:41:00 CET 2010


Author: vincent
Date: Fri Nov  5 14:40:54 2010
New Revision: 2416

Log:
Fix r2414: test replaces connection pool with custom one.

Modified:
    trunk/neo/tests/client/testClientApp.py

Modified: trunk/neo/tests/client/testClientApp.py
==============================================================================
--- trunk/neo/tests/client/testClientApp.py [iso-8859-1] (original)
+++ trunk/neo/tests/client/testClientApp.py [iso-8859-1] Fri Nov  5 14:40:54 2010
@@ -680,6 +680,9 @@ class ClientApplicationTests(NeoUnitTest
         class ConnectionPool(object):
             def getConnForNode(self, node):
                 return node.getConnection()
+
+            def flush(self):
+                pass
         app.cp = ConnectionPool()
         # abort must be sent to storage 1 and 2
         app.tpc_abort(txn)





More information about the Neo-report mailing list