Michael Trier committed 8412750

Fixed borked testlib due to r4901.

Comments (0)

Files changed (1)


 import sys, types, weakref
-from sqlalchemy import create_engine
-from testlib import config, testing
+from testlib import config
 from testlib.compat import set, _function_named, deque
 class ConnectionKiller(object):
 def mock_engine(db=None):
     """Provides a mocking engine based on the current testing.db."""
-    dbi = db or testing.db
+    from sqlalchemy import create_engine
+    dbi = db or config.db
     buffer = []
     def executor(sql, *a, **kw):