summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSylvain <syt@logilab.fr>2007-10-29 10:13:34 +0100
committerSylvain <syt@logilab.fr>2007-10-29 10:13:34 +0100
commitbf206cef369cb28219da01c53b9b439b6d70106b (patch)
tree12cc3ec4d839d9056e4bc3e32bf692bafe9a8cef /test
parent9d0d6661a6e8bd2859edc5f737f614c9afb35e05 (diff)
downloadlogilab-common-bf206cef369cb28219da01c53b9b439b6d70106b.tar.gz
fix db testst
Diffstat (limited to 'test')
-rw-r--r--test/unittest_db.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/unittest_db.py b/test/unittest_db.py
index 793c151..de86afd 100644
--- a/test/unittest_db.py
+++ b/test/unittest_db.py
@@ -6,7 +6,8 @@ import socket
from logilab.common.testlib import TestCase, unittest_main
from logilab.common.db import *
-from logilab.common.db import PREFERED_DRIVERS, _GenericAdvFuncHelper, _PGAdvFuncHelper
+from logilab.common.db import PREFERED_DRIVERS
+from logilab.common.adbh import _SqliteAdvFuncHelper, _PGAdvFuncHelper
class PreferedDriverTC(TestCase):
@@ -180,8 +181,8 @@ class DBAPIAdaptersTC(TestCase):
try:
module = get_dbapi_compliant_module('sqlite')
except ImportError:
- self.skip('postgresql dbapi module not installed')
- self.failUnless(isinstance(module.adv_func_helper, _GenericAdvFuncHelper))
+ self.skip('sqlite dbapi module not installed')
+ self.failUnless(isinstance(module.adv_func_helper, _SqliteAdvFuncHelper))
if __name__ == '__main__':