summaryrefslogtreecommitdiff
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
parent9d0d6661a6e8bd2859edc5f737f614c9afb35e05 (diff)
downloadlogilab-common-bf206cef369cb28219da01c53b9b439b6d70106b.tar.gz
fix db testst
-rw-r--r--ChangeLog3
-rw-r--r--test/unittest_db.py7
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6cf3440..a25f8e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,12 +5,12 @@ ChangeLog for logilab.common
* decorators: new classproperty decorator
* adbh: new module containing advanced db helper which were in the "db"
module, with additional registered procedures handling
+
2007-10-23 -- 0.23.1
* modutils: fix load_module_from_* (even with use_sys=False, it should
try to get outer packages from sys.modules)
-
2007-10-17 -- 0.23.0
* db:
@@ -27,6 +27,7 @@ ChangeLog for logilab.common
meaning remaining args should not be checked
* interface: new extend function to dynamically add an implemented interface
to a new style class
+
2007-06-25 -- 0.22.2
* new 'typechanged' action for configuration.read_old_config
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__':