[IMP] portal: Adapt tests to work with/without demo data
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
import odoo.tests
|
||||
|
||||
from odoo.addons.base.tests.common import HttpCaseWithUserPortal
|
||||
from odoo.tests import tagged
|
||||
|
||||
|
||||
@odoo.tests.tagged('post_install', '-at_install')
|
||||
class TestUi(odoo.tests.HttpCase):
|
||||
@tagged('post_install', '-at_install')
|
||||
class TestUi(HttpCaseWithUserPortal):
|
||||
def test_01_portal_load_tour(self):
|
||||
self.start_tour("/", 'portal_load_homepage', login="portal")
|
||||
|
||||
Reference in New Issue
Block a user