equal
deleted
inserted
replaced
49 self.assertTrue(url.startswith('javascript:')) |
49 self.assertTrue(url.startswith('javascript:')) |
50 self.assertTrue(url.endswith('()')) |
50 self.assertTrue(url.endswith('()')) |
51 cbname = url.split()[1][:-2] |
51 cbname = url.split()[1][:-2] |
52 self.assertMultiLineEqual( |
52 self.assertMultiLineEqual( |
53 'function %s() { $("#foo").loadxhtml("http://testing.fr/cubicweb/ajax?%s",' |
53 'function %s() { $("#foo").loadxhtml("http://testing.fr/cubicweb/ajax?%s",' |
54 '{pageid: "%s"},"get","replace"); }' % |
54 '{"pageid": "%s"},"get","replace"); }' % |
55 (cbname, qs, req.pageid), |
55 (cbname, qs, req.pageid), |
56 req.html_headers.post_inlined_scripts[0]) |
56 req.html_headers.post_inlined_scripts[0]) |
57 |
57 |
58 |
58 |
59 class FileUploadTC(CubicWebWsgiTC): |
59 class FileUploadTC(CubicWebWsgiTC): |