summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2019-11-04 16:38:28 +0100
committerYannick Tivisse <yti@odoo.com>2019-11-05 13:08:04 +0100
commitd360c49a5ad03eb3d12dcaa00301a6e1d76b3b40 (patch)
tree18636ba22abcb6771b9dafbf051293204f94cb9a /addons
parent09dc727357615355da9e5e88865ee6d66fc91d9a (diff)
[IMP] portal: Adapt tests to work with/without demo data
Diffstat (limited to 'addons')
-rw-r--r--addons/portal/tests/test_load_process.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/addons/portal/tests/test_load_process.py b/addons/portal/tests/test_load_process.py
index ccefbad8d39..5f9d9802aa1 100644
--- a/addons/portal/tests/test_load_process.py
+++ b/addons/portal/tests/test_load_process.py
@@ -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")