branch | tls-sprint |
changeset 1802 | d628defebc17 |
parent 1016 | 26387b836099 |
child 1977 | 606923dff11b |
--- a/server/test/unittest_sqlutils.py Thu May 14 10:24:56 2009 +0200 +++ b/server/test/unittest_sqlutils.py Thu May 14 11:38:40 2009 +0200 @@ -20,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()