Commit ba02effc authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix the instanciation of MySQL manager in unit tests.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1389 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 882c6129
...@@ -34,10 +34,8 @@ class StorageMySQSLdbTests(NeoTestBase): ...@@ -34,10 +34,8 @@ class StorageMySQSLdbTests(NeoTestBase):
def setUp(self): def setUp(self):
self.prepareDatabase(number=1, prefix=NEO_SQL_DATABASE[:-1]) self.prepareDatabase(number=1, prefix=NEO_SQL_DATABASE[:-1])
# db manager # db manager
self.db = MySQLDatabaseManager( database = '%s@%s' % (NEO_SQL_USER, NEO_SQL_DATABASE)
database=NEO_SQL_DATABASE, self.db = MySQLDatabaseManager(database)
user=NEO_SQL_USER,
)
def tearDown(self): def tearDown(self):
self.db.close() self.db.close()
......
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