Commit Graph

15 Commits

Author SHA1 Message Date
Fabien Pinckaers 54d30d5194 [IMP] clean sitemap, enumerate pages + fixes
bzr revid: fp@tinyerp.com-20140511115231-g8ke14r9iepyypv4
2014-05-11 13:52:31 +02:00
Raphael Collet 560166d5a1 [FIX] website/tests: fix test_requests by manually switching registry to test mode
bzr revid: rco@openerp.com-20140409092450-2r4gx0eggw2p7lch
2014-04-09 11:24:50 +02:00
Antony Lesuisse e23ce63133 [FIX] website tests crawler, admin password != super admin password
bzr revid: al@openerp.com-20140316142302-7xm0sputqgadihs0
2014-03-16 15:23:02 +01:00
Xavier Morel aa0eac1257 [FIX] re-enable crawler tests
Move URLCase back out of the test module, otherwise loadTestFromModule
attempts to load it in the usual manner (~URLCase('runTest')). Which does not
work at all, because that's not what URLCase is for.

URLCase extends TestCase to benefit from the TestCase.run infrastructure
(running tests, filling result object, etc...)

bzr revid: xmo@openerp.com-20140217151535-alq7pq6qapski73x
2014-02-17 16:15:35 +01:00
Antony Lesuisse 70d498c14a [FIX] disable http test before conversion
bzr revid: al@openerp.com-20140209141950-o9sf0jual07y315f
2014-02-09 15:19:50 +01:00
Denis Ledoux 18532330d4 [FIX] *: replace urllib calls by werkzeug calls, as werkzeug handles utf-8 encoding while urllib doesnt
bzr revid: dle@openerp.com-20140130112408-8pdju26jnkyxvlw2
2014-01-30 12:24:08 +01:00
Denis Ledoux 0306adbfe3 [FIX] *: using werkzeug.url_encode instead of urllib.urlencode because urliblib.encode does not accept unicode
bzr revid: dle@openerp.com-20140129121316-b5f5e4r6fz9l80kq
2014-01-29 13:13:16 +01:00
Fabien Meghazi 1f916750eb [FIX] test_request: process cookies on redirections
bzr revid: fme@openerp.com-20140115140958-9hm8thtlcnyflazz
2014-01-15 15:09:58 +01:00
Xavier Morel a67b3adf80 [IMP] remove footer link to sitemap, add direct sitemap link in test suite
the html sitemap is used as a proxy for testing the XML one.

bzr revid: xmo@openerp.com-20131125120916-d5w5xos2c7aimf31
2013-11-25 13:09:16 +01:00
Xavier Morel b05db3495c [IMP] in crawler testing, indicate at which page the failed url was found
bzr revid: xmo@openerp.com-20131125120548-0s7xnhszd48e1u9v
2013-11-25 13:05:48 +01:00
Xavier Morel 841a5e7c2d [FIX] db handling being a pain in the ass
On runbot the base url dispatches into a unknown void of no db being
selected and the CMS thus 404s. For human beings there are additional
links to special subdomains setting the right db in the right place
(or maybe the right dbfilter, whatever) but that doesn't work right
for the crawler test suite.

Instead go through /web/ with a forced db selection, this *should* set
the db correctly in the user's session even if he's anonymous and thus
allows us to browse said db.

No idea if this fevered idea is actually going to work.

bzr revid: xmo@openerp.com-20131106115547-0ozlex09svkecrhb
2013-11-06 12:55:47 +01:00
Xavier Morel b754d4999c [FIX] enable auth'd crawling of CMS
bzr revid: xmo@openerp.com-20131105161345-257bebtxce4wa217
2013-11-05 17:13:45 +01:00
Xavier Morel 1308726046 [FIX] use config's xmlrpc_port during auth
bzr revid: xmo@openerp.com-20131105154414-wdfmu70m5gf2sjea
2013-11-05 16:44:14 +01:00
Xavier Morel a9193cf2ec [FIX] use db_name from tools.config to know where to auth
auth's currently disabled so it doesn't matter much really

bzr revid: xmo@openerp.com-20131105154131-35lqg2l6tdccgvp7
2013-11-05 16:41:31 +01:00
Xavier Morel 496431b4f0 [ADD] CMS crawling case, with a bunch of hardcoded values to fix
bzr revid: xmo@openerp.com-20131105145047-4ccrchj79lohry5q
2013-11-05 15:50:47 +01:00