server/test/unittest_sqlutils.py
branchstable
changeset 6340 470d8e828fda
parent 5424 8ecbcbff9777
child 9334 ea12401c0a68
--- a/server/test/unittest_sqlutils.py	Fri Sep 24 18:20:57 2010 +0200
+++ b/server/test/unittest_sqlutils.py	Fri Sep 24 18:20:59 2010 +0200
@@ -36,13 +36,13 @@
 
     def test_init(self):
         o = SQLAdapterMixIn(BASE_CONFIG)
-        self.assertEquals(o.dbhelper.dbencoding, 'UTF-8')
+        self.assertEqual(o.dbhelper.dbencoding, 'UTF-8')
 
     def test_init_encoding(self):
         config = BASE_CONFIG.copy()
         config['db-encoding'] = 'ISO-8859-1'
         o = SQLAdapterMixIn(config)
-        self.assertEquals(o.dbhelper.dbencoding, 'ISO-8859-1')
+        self.assertEqual(o.dbhelper.dbencoding, 'ISO-8859-1')
 
 if __name__ == '__main__':
     unittest_main()