diff options
| author | Jérome Maes <jem@openerp.com> | 2016-08-04 08:50:00 +0200 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2016-08-04 12:02:14 +0200 |
| commit | 8a399930f316fc4d65828441d86301d4a8dfa669 (patch) | |
| tree | a45780e27942f303dc6a28a1213978c214229167 /addons/website/tests/test_crawl.py | |
| parent | fd09ddb6f3c40e9ec5854cc58c7eb791d4498dc0 (diff) | |
[REF] website_*: remove `render` method on website
Since saas-3, website controllers use `request.website.render`
to render the template of a web page. This was kept for retro
compatibility. It's time to stop using deprecated stuff.
Same for `_render` method on website.
'json' route don't use `request.render` since
`JsonRequest` has no `render` method.
Diffstat (limited to 'addons/website/tests/test_crawl.py')
| -rw-r--r-- | addons/website/tests/test_crawl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/website/tests/test_crawl.py b/addons/website/tests/test_crawl.py index 189e6531e3f..5ef5c551163 100644 --- a/addons/website/tests/test_crawl.py +++ b/addons/website/tests/test_crawl.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + import logging import urlparse import time @@ -10,6 +12,7 @@ import re _logger = logging.getLogger(__name__) + class Crawler(odoo.tests.HttpCase): """ Test suite crawling an Odoo CMS instance and checking that all internal links lead to a 200 response. |
