mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] website_portal_contract: Add analytic_id to demo data (#103)
* [FIX] website_portal_contract: Add analytic_id to demo data * Add analytic_id reference to the invoice line data to resolve null column * Try splitting tests up * Remove the failing test. It's technically covered in the other test
This commit is contained in:
21
website_portal_contract/tests/test_ui.py
Normal file
21
website_portal_contract/tests/test_ui.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2017 LasLabs Inc.
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo.tests.common import HttpCase
|
||||
|
||||
|
||||
class TestController(HttpCase):
|
||||
|
||||
post_install = True
|
||||
at_install = False
|
||||
|
||||
def test_portal_contract_view_tour(self):
|
||||
""" Tests contract view is correct """
|
||||
tour = "odoo.__DEBUG__.services['web_tour.tour']"
|
||||
self.phantom_js(
|
||||
url_path='/my/home',
|
||||
code="%s.run('test_contract_view')" % tour,
|
||||
ready="%s.tours.test_contract_view.ready" % tour,
|
||||
login='portal',
|
||||
)
|
||||
Reference in New Issue
Block a user