hr/tests/test_ui.py
Старков Евгений Федорович 0b55e984cd odoo replaced to talisman
2024-05-21 15:09:17 +03:00

18 lines
577 B
Python

# Part of Talisman . See LICENSE file for full copyright and licensing details.
from odoo.tests import HttpCase, tagged, new_test_user
@tagged('-at_install', 'post_install')
class TestEmployeeUi(HttpCase):
def test_employee_profile_tour(self):
user = new_test_user(self.env, login='davidelora', groups='base.group_user')
self.env['hr.employee'].create([{
'name': 'Johnny H.',
}, {
'name': 'David Elora',
'user_id': user.id,
}])
self.start_tour("/web", 'hr_employee_tour', login="davidelora")