summaryrefslogtreecommitdiff
path: root/addons/website_sale_product_configurator/tests/test_customize.py
blob: bac65e2d96b7e8b76b9e4944ce7e847c077fcbbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo.tests.common import HttpSavepointCase
from odoo.addons.sale_product_configurator.tests.common import TestProductConfiguratorCommon
from odoo.tests import tagged


@tagged('post_install', '-at_install')
class TestUi(HttpSavepointCase, TestProductConfiguratorCommon):

    def test_01_admin_shop_custom_attribute_value_tour(self):
        # fix runbot, sometimes one pricelist is chosen, sometimes the other...
        pricelists = self.env['website'].get_current_website().get_current_pricelist() | self.env.ref('product.list0')
        self._create_pricelist(pricelists)
        self.start_tour("/", 'a_shop_custom_attribute_value', login="admin")