# HG changeset patch # User Sylvain Thénault # Date 1330608762 -3600 # Node ID c17d855bd95bcd9d79551708b7ba410d141cd8ff # Parent 50a683f2768ce6fcc79239e65201ccd71b22872d [repo test] fix test regression introduced by 8286:8b0146e31baa diff -r 50a683f2768c -r c17d855bd95b server/test/unittest_multisources.py --- a/server/test/unittest_multisources.py Thu Mar 01 13:42:30 2012 +0100 +++ b/server/test/unittest_multisources.py Thu Mar 01 14:32:42 2012 +0100 @@ -337,7 +337,7 @@ ceid = cu.execute('INSERT Card X: X title "without wikiid to get eid based url"')[0][0] self.cnx2.commit() lc = self.sexecute('Card X WHERE X title "without wikiid to get eid based url"').get_entity(0, 0) - self.assertEqual(lc.absolute_url(), 'http://extern.org/card/eid/%s' % ceid) + self.assertEqual(lc.absolute_url(), 'http://extern.org/%s' % ceid) cu.execute('DELETE Card X WHERE X eid %(x)s', {'x':ceid}) self.cnx2.commit() @@ -346,7 +346,7 @@ ceid = cu.execute('INSERT Card X: X title "without wikiid to get eid based url"')[0][0] self.cnx3.commit() lc = self.sexecute('Card X WHERE X title "without wikiid to get eid based url"').get_entity(0, 0) - self.assertEqual(lc.absolute_url(), 'http://testing.fr/cubicweb/card/eid/%s' % lc.eid) + self.assertEqual(lc.absolute_url(), 'http://testing.fr/cubicweb/%s' % lc.eid) cu.execute('DELETE Card X WHERE X eid %(x)s', {'x':ceid}) self.cnx3.commit()