web/test/unittest_web.py
branchstable
changeset 7518 2431e3e9a4f2
parent 6595 00cd0b273cf5
child 7791 31bb51ea5485
--- 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__':