Commit 8c18b6dc authored by Vincent Pelletier's avatar Vincent Pelletier

Fix storage test mistake, which was uncovered by r1937.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1943 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 5da44892
......@@ -115,7 +115,7 @@ class StorageMySQSLdbTests(NeoTestBase):
# 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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment