diff --git a/addons/base_setup/tests/test_res_config_doc_links.py b/addons/base_setup/tests/test_res_config_doc_links.py index 2175d59b6cc..d3644af82d4 100644 --- a/addons/base_setup/tests/test_res_config_doc_links.py +++ b/addons/base_setup/tests/test_res_config_doc_links.py @@ -1,8 +1,9 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -from odoo.tests.common import HttpCase, tagged import re +from odoo.tests import HttpCase, tagged +from odoo.release import url, version @tagged('-standard', 'external', 'post_install', '-at_install') # nightly is not a real tag @@ -12,24 +13,37 @@ class TestResConfigDocLinks(HttpCase): check that every links are still valid. """ - def setUp(self): + @classmethod + def setUpClass(cls): """ Set-up the test environment """ - super(TestResConfigDocLinks, self).setUp() - self.re = re.compile("Save this page and come back here to set up the feature. - +
Save this page and come back here to set up the feature.