--- a/web/test/unittest_breadcrumbs.py Fri Sep 11 12:42:37 2009 +0200
+++ b/web/test/unittest_breadcrumbs.py Fri Sep 11 15:55:15 2009 +0200
@@ -10,8 +10,8 @@
self.commit()
childrset = self.execute('Folder F WHERE F eid %s' % f2.eid)
self.assertEquals(childrset.get_entity(0,0).view('breadcrumbs'),
- '<a href="http://testing.fr/cubicweb/folder/715" title="">chi&ld</a>')
+ '<a href="http://testing.fr/cubicweb/folder/%s" title="">chi&ld</a>' % f1.eid)
ibc = self.vreg['components'].select('breadcrumbs', self.request(), rset=childrset)
self.assertEquals(ibc.render(),
- """<span id="breadcrumbs" class="pathbar"> > <a href="http://testing.fr/cubicweb/Folder">folder_plural</a> > <a href="http://testing.fr/cubicweb/folder/714" title="">par&ent</a> > 
-chi&ld</span>""")
+ """<span id="breadcrumbs" class="pathbar"> > <a href="http://testing.fr/cubicweb/Folder">folder_plural</a> > <a href="http://testing.fr/cubicweb/folder/%s" title="">par&ent</a> > 
+chi&ld</span>""" % f2.eid)