web/test/unittest_breadcrumbs.py
branchstable
changeset 5291 593adaccd737
parent 4172 4d4cef034eec
child 5421 8167de96c523
--- a/web/test/unittest_breadcrumbs.py	Thu Apr 15 17:28:27 2010 +0200
+++ b/web/test/unittest_breadcrumbs.py	Thu Apr 15 17:35:17 2010 +0200
@@ -15,7 +15,7 @@
         ibc = self.vreg['components'].select('breadcrumbs', self.request(), rset=childrset)
         self.assertEquals(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;
-chi&amp;ld</span>""" % f1.eid)
+<a href="http://testing.fr/cubicweb/folder/%s" title="">chi&amp;ld</a></span>""" % (f1.eid, f2.eid))
 
 if __name__ == '__main__':
     from logilab.common.testlib import unittest_main