From 8685efce8215f6398d16e2df758ac750cf2af304 Mon Sep 17 00:00:00 2001 From: farcepest Date: Tue, 2 Oct 2012 14:53:29 -0400 Subject: [PATCH] I don't know how this got lost. Git makes me feel like a git. --- MySQLdb/tests/capabilities.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MySQLdb/tests/capabilities.py b/MySQLdb/tests/capabilities.py index dd302b9..076361c 100644 --- a/MySQLdb/tests/capabilities.py +++ b/MySQLdb/tests/capabilities.py @@ -8,6 +8,7 @@ from time import time import array import unittest +from configdb import connection_factory class DatabaseTest(unittest.TestCase): @@ -21,7 +22,7 @@ class DatabaseTest(unittest.TestCase): def setUp(self): import gc - db = self.db_module.connect(*self.connect_args, **self.connect_kwargs) + db = connection_factory(**self.connect_kwargs) self.connection = db self.cursor = db.cursor() # TODO: this needs to be re-evaluated for Python 3