[Neo-report] r2081 gregory - /trunk/neo/tests/storage/testMasterHandler.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri May 7 11:13:22 CEST 2010


Author: gregory
Date: Fri May  7 11:13:18 2010
New Revision: 2081

Log:
Use getFakeConnection() from test framework.

Modified:
    trunk/neo/tests/storage/testMasterHandler.py

Modified: trunk/neo/tests/storage/testMasterHandler.py
==============================================================================
--- trunk/neo/tests/storage/testMasterHandler.py [iso-8859-1] (original)
+++ trunk/neo/tests/storage/testMasterHandler.py [iso-8859-1] Fri May  7 11:13:18 2010
@@ -126,7 +126,7 @@
         self.assertRaises(OperationFailure, self.operation.stopOperation, conn)
 
     def _getConnection(self):
-        return Mock({})
+        return self.getFakeConnection()
 
     def test_askLockInformation1(self):
         """ Unknown transaction """





More information about the Neo-report mailing list