29 lines
999 B
Python
29 lines
999 B
Python
"""Python wrappers that run the OWL tours via HttpCase.start_tour.
|
|
|
|
Tours require an HTTP server + headless browser. They are tagged with
|
|
'tour' so they can be excluded from fast unit-test runs and selected
|
|
explicitly when CI has the right infra (chromium + xvfb / websocket-client).
|
|
"""
|
|
|
|
from odoo.tests.common import HttpCase
|
|
from odoo.tests import tagged
|
|
|
|
|
|
@tagged('post_install', '-at_install', 'tour')
|
|
class TestAssetsTours(HttpCase):
|
|
|
|
def test_smoke_tour(self):
|
|
self.start_tour("/odoo", "fusion_assets_smoke", login="admin")
|
|
|
|
def test_list_tour(self):
|
|
self.start_tour("/odoo", "fusion_assets_list", login="admin")
|
|
|
|
def test_categories_tour(self):
|
|
self.start_tour("/odoo", "fusion_assets_categories", login="admin")
|
|
|
|
def test_anomalies_tour(self):
|
|
self.start_tour("/odoo", "fusion_assets_anomalies", login="admin")
|
|
|
|
def test_depreciation_wizard_tour(self):
|
|
self.start_tour("/odoo", "fusion_assets_depreciation_wizard", login="admin")
|