diff options
author | Adrien Di Mascio <adim@logilab.fr> | 2006-05-18 09:15:37 +0200 |
---|---|---|
committer | Adrien Di Mascio <adim@logilab.fr> | 2006-05-18 09:15:37 +0200 |
commit | 2c01bbd132fd7f74c247519c75998d40dccaadc8 (patch) | |
tree | f75261855b90cfc9cbf63e52e79842e0b243b8bf /test/unittest_db.py | |
parent | 8121df79e137d72552b7b7825a3c68333035b1bc (diff) | |
download | logilab-common-2c01bbd132fd7f74c247519c75998d40dccaadc8.tar.gz |
improved a bit generative test support and added tests for that
Diffstat (limited to 'test/unittest_db.py')
-rw-r--r-- | test/unittest_db.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unittest_db.py b/test/unittest_db.py index b7e04f7..8049220 100644 --- a/test/unittest_db.py +++ b/test/unittest_db.py @@ -154,8 +154,8 @@ class DBAPIAdaptersTC(TestCase): 'int8', 'float4', 'float8', 'numeric', 'bool', 'money') for num_type in number_types: - self.assertEquals(num_type, module.NUMBER) - self.assertNotEquals('char', module.NUMBER) + yield self.assertEquals, num_type, module.NUMBER + yield self.assertNotEquals, 'char', module.NUMBER def test_pypgsql_getattr(self): """Tests the getattr() delegation for pyPgSQL""" |