diff -r 49075f57cf2c -r aa09e20dd8c0 server/test/unittest_sqlutils.py --- a/server/test/unittest_sqlutils.py Tue May 05 17:18:49 2009 +0200 +++ b/server/test/unittest_sqlutils.py Thu May 14 12:48:11 2009 +0200 @@ -2,7 +2,6 @@ """ import sys -from mx.DateTime import now from logilab.common.testlib import TestCase, unittest_main @@ -21,12 +20,12 @@ def test_init(self): o = SQLAdapterMixIn(BASE_CONFIG) self.assertEquals(o.encoding, 'UTF-8') - + def test_init_encoding(self): config = BASE_CONFIG.copy() config['db-encoding'] = 'ISO-8859-1' o = SQLAdapterMixIn(config) self.assertEquals(o.encoding, 'ISO-8859-1') - + if __name__ == '__main__': unittest_main()