web/test/unittest_breadcrumbs.py
branchstable
changeset 6340 470d8e828fda
parent 5569 cb14af012a96
child 6428 de95bbed8781
--- a/web/test/unittest_breadcrumbs.py	Fri Sep 24 18:20:57 2010 +0200
+++ b/web/test/unittest_breadcrumbs.py	Fri Sep 24 18:20:59 2010 +0200
@@ -28,11 +28,11 @@
         self.execute('SET F2 filed_under F1 WHERE F1 eid %(f1)s, F2 eid %(f2)s',
                      {'f1' : f1.eid, 'f2' : f2.eid})
         self.commit()
-        self.assertEquals(f2.view('breadcrumbs'),
+        self.assertEqual(f2.view('breadcrumbs'),
                           '<a href="http://testing.fr/cubicweb/folder/%s" title="">chi&amp;ld</a>' % f2.eid)
         childrset = f2.as_rset()
         ibc = self.vreg['components'].select('breadcrumbs', self.request(), rset=childrset)
-        self.assertEquals(ibc.render(),
+        self.assertEqual(ibc.render(),
                           """<span id="breadcrumbs" class="pathbar">&#160;&gt;&#160;<a href="http://testing.fr/cubicweb/Folder">folder_plural</a>&#160;&gt;&#160;<a href="http://testing.fr/cubicweb/folder/%s" title="">par&amp;ent</a>&#160;&gt;&#160;
 <a href="http://testing.fr/cubicweb/folder/%s" title="">chi&amp;ld</a></span>""" % (f1.eid, f2.eid))