From dcde3820a3a3ce364318d79cc617aa65fabfe0ea Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Tue, 26 Dec 2017 16:45:48 +0100 Subject: [PATCH] [IMP] tests: adapt enterprise tests to the tests tags system As the possibility to test tags was introduced, some tests must me adapated to work as before. Tests that have to run at 'post_install' have to be tagged '-at_install' and 'post_install'. Also, nightly tests that contact external entities have to be tagged '-standard' to avoid to be launched by default. Also they have to be tagged 'external' so that they can be selected alone. --- tests/test_website_form_editor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_website_form_editor.py b/tests/test_website_form_editor.py index ea78099a7f5..df3378fd7b8 100644 --- a/tests/test_website_form_editor.py +++ b/tests/test_website_form_editor.py @@ -4,8 +4,7 @@ import odoo.tests -@odoo.tests.common.at_install(False) -@odoo.tests.common.post_install(True) +@odoo.tests.tagged('post_install','-at_install') class TestWebsiteFormEditor(odoo.tests.HttpCase): def test_tour(self): self.phantom_js("/", "odoo.__DEBUG__.services['web_tour.tour'].run('website_form_editor_tour')", "odoo.__DEBUG__.services['web_tour.tour'].tours.website_form_editor_tour.ready", login="admin")