server/test/unittest_msplanner.py
changeset 6366 1806148d6ce8
parent 6225 a176e68b7d0d
parent 6340 470d8e828fda
child 6427 c8a5ac2d1eaa
--- a/server/test/unittest_msplanner.py	Thu Sep 23 23:28:58 2010 +0200
+++ b/server/test/unittest_msplanner.py	Wed Sep 29 16:16:32 2010 +0200
@@ -141,8 +141,8 @@
             for var in sourcevars.keys():
                 solindices = sourcevars.pop(var)
                 sourcevars[var._ms_table_key()] = solindices
-        self.assertEquals(ppi._sourcesterms, sourcesterms)
-        self.assertEquals(ppi.needsplit, needsplit)
+        self.assertEqual(ppi._sourcesterms, sourcesterms)
+        self.assertEqual(ppi.needsplit, needsplit)
 
 
     def test_simple_system_only(self):
@@ -2032,7 +2032,7 @@
         # identity relation. BUT I think it's better to leave it as is and to
         # explain constraint propagation rules, and so why this should be
         # wrapped in exists() if used in multi-source
-        self.skip('take a look at me if you wish')
+        self.skipTest('take a look at me if you wish')
         self._test('Any B,U,UL GROUPBY B,U,UL WHERE B created_by U?, B is File '
                    'WITH U,UL BEING (Any U,UL WHERE ME eid %(x)s, (U identity ME '
                    'OR (EXISTS(U in_group G, G name IN("managers", "staff")))) '