diff options
author | farcepest <farcepest@gmail.com> | 2012-10-02 14:53:29 -0400 |
---|---|---|
committer | farcepest <farcepest@gmail.com> | 2012-10-02 14:53:29 -0400 |
commit | 8685efce8215f6398d16e2df758ac750cf2af304 (patch) | |
tree | 9cad5213bbc2e9675f913e1d64b1349b0b96db78 | |
parent | 080902e21ea5bbad87c548fb27b94c332e3cbf62 (diff) | |
download | mysqldb1-8685efce8215f6398d16e2df758ac750cf2af304.tar.gz |
I don't know how this got lost. Git makes me feel like a git.
-rw-r--r-- | MySQLdb/tests/capabilities.py | 3 |
1 files changed, 2 insertions, 1 deletions
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
|