[IMP] hr_recruitment_survey: Convert yml test into python

This commit is contained in:
Yannick Tivisse
2017-11-07 11:43:46 +01:00
parent a824b9121f
commit 5b8e4a370e
4 changed files with 16 additions and 6 deletions
@@ -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()