[IMP] hr_recruitment_survey: Convert yml test into python
This commit is contained in:
@@ -21,6 +21,5 @@
|
||||
'demo': [
|
||||
'data/hr_job_demo.xml',
|
||||
],
|
||||
'test': ['test/recruitment_process.yml'],
|
||||
'auto_install': False,
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
-
|
||||
I print Applicant fill up the interview question
|
||||
-
|
||||
!python {model: hr.applicant, id: hr_recruitment.hr_case_programmer}: |
|
||||
self.action_print_survey()
|
||||
@@ -0,0 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import test_print_survey
|
||||
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo.tests import common
|
||||
|
||||
|
||||
class TestDeferredRevenue(common.TransactionCase):
|
||||
|
||||
def test_print_survey(self):
|
||||
'''I print the survey to fill up the interview question'''
|
||||
|
||||
self.env.ref('hr_recruitment.hr_case_programmer').action_print_survey()
|
||||
Reference in New Issue
Block a user