--- a/web/test/unittest_web.py Wed Jun 15 19:19:36 2011 +0200
+++ b/web/test/unittest_web.py Wed Jun 15 19:22:05 2011 +0200
@@ -38,7 +38,7 @@
self.failUnless(url.endswith('()'))
cbname = url.split()[1][:-2]
self.assertMultiLineEqual(
- 'function %s() { $("#foo").loadxhtml("http://testing.fr/cubicweb/json?%s",null,"get","replace"); }' % (cbname, qs),
+ 'function %s() { $("#foo").loadxhtml("http://testing.fr/cubicweb/json?%s",{"pageid": "%s"},"get","replace"); }' % (cbname, qs, req.pageid),
req.html_headers.post_inlined_scripts[0])
if __name__ == '__main__':