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):
def setUp(self):
self.prepareDatabase(number=1, prefix=NEO_SQL_DATABASE[:-1])
# db manager
self.db = MySQLDatabaseManager(
database=NEO_SQL_DATABASE,
user=NEO_SQL_USER,
)
database = '%s@%s' % (NEO_SQL_USER, NEO_SQL_DATABASE)
self.db = MySQLDatabaseManager(database)
def tearDown(self):
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