web/test/unittest_web.py
branchstable
changeset 6340 470d8e828fda
parent 6197 d8f0dce0b86d
child 6595 00cd0b273cf5
--- a/web/test/unittest_web.py	Fri Sep 24 18:20:57 2010 +0200
+++ b/web/test/unittest_web.py	Fri Sep 24 18:20:59 2010 +0200
@@ -25,9 +25,9 @@
         req = FakeRequest()
         arurl = req.ajax_replace_url
         # NOTE: for the simplest use cases, we could use doctest
-        self.assertEquals(arurl('foo', rql='Person P', vid='list'),
+        self.assertEqual(arurl('foo', rql='Person P', vid='list'),
                           """javascript: $('#foo').loadxhtml("http://testing.fr/cubicweb/json?rql=Person%20P&fname=view&vid=list",null,"get","replace"); noop()""")
-        self.assertEquals(arurl('foo', rql='Person P', vid='oneline', name='bar', age=12),
+        self.assertEqual(arurl('foo', rql='Person P', vid='oneline', name='bar', age=12),
                           """javascript: $('#foo').loadxhtml("http://testing.fr/cubicweb/json?name=bar&age=12&rql=Person%20P&fname=view&vid=oneline",null,"get","replace"); noop()""")