[Neo-report] r1943 vincent - /trunk/neo/tests/storage/testStorageMySQLdb.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Mar 17 11:09:47 CET 2010
Author: vincent
Date: Wed Mar 17 11:09:38 2010
New Revision: 1943
Log:
Fix storage test mistake, which was uncovered by r1937.
Modified:
trunk/neo/tests/storage/testStorageMySQLdb.py
Modified: trunk/neo/tests/storage/testStorageMySQLdb.py
==============================================================================
--- trunk/neo/tests/storage/testStorageMySQLdb.py [iso-8859-1] (original)
+++ trunk/neo/tests/storage/testStorageMySQLdb.py [iso-8859-1] Wed Mar 17 11:09:38 2010
@@ -115,7 +115,7 @@
# mock object, break raise/connect loop
self.db.conn = Mock({'num_rows': 0})
self.connect_called = True
- self.db.connect = connect_hook
+ self.db._connect = connect_hook
# make a query, exception will be raised then connect() will be
# called and the second query will use the mock object
self.db.query('QUERY')
More information about the Neo-report
mailing list