diff --git a/test_themes/tests/test_crawl.py b/test_themes/tests/test_crawl.py index 883242d90a..491152de10 100644 --- a/test_themes/tests/test_crawl.py +++ b/test_themes/tests/test_crawl.py @@ -1,10 +1,9 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -from odoo.tests import HttpCase, tagged +from odoo.tests import HttpCase -@tagged('post_install', '-at_install') class Crawler(HttpCase): def test_01_crawl_every_themes(self): """ Crawl every website (and so every themes) to ensure all themes can diff --git a/test_themes/tests/test_new_page_templates.py b/test_themes/tests/test_new_page_templates.py index 79e147be70..d53c32fa9c 100644 --- a/test_themes/tests/test_new_page_templates.py +++ b/test_themes/tests/test_new_page_templates.py @@ -7,7 +7,7 @@ import re from odoo.addons.website.tools import MockRequest -from odoo.tests import tagged, TransactionCase +from odoo.tests import TransactionCase from odoo.tools import escape_psql _logger = logging.getLogger(__name__) @@ -102,7 +102,6 @@ } -@tagged('post_install', '-at_install') class TestNewPageTemplates(TransactionCase): def test_template_names(self): diff --git a/theme_test_custo/tests/test_theme_creation.py b/theme_test_custo/tests/test_theme_creation.py index 80294b050e..93455be3fd 100644 --- a/theme_test_custo/tests/test_theme_creation.py +++ b/theme_test_custo/tests/test_theme_creation.py @@ -4,9 +4,10 @@ from odoo.tests import HttpCase, tagged from odoo.addons.website.tests.test_configurator import TestConfiguratorCommon + # TODO: `test_themes` tag should not be there, runbot config should be adapted # to test this module too. There is a special config for the theme repo. -@tagged('post_install', '-at_install', 'test_themes') +@tagged('test_themes') class Crawler(HttpCase): def test_01_menu_hierarchies(self): theme_custo = self.env.ref('base.module_theme_test_custo') @@ -15,7 +16,7 @@ def test_01_menu_hierarchies(self): theme_custo.with_context(load_all_views=True, apply_new_theme=True)._theme_load(website) self.start_tour('/@/example', "theme_menu_hierarchies", login='admin') -@tagged('post_install', '-at_install') + class TestThemeConfigurator(TestConfiguratorCommon): def test_website_theme_preview(self): self.start_tour('/web#action=website.action_website_configuration', 'website_theme_preview', login="admin")