hr_contract/tests/common.py

18 lines
467 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.tests.common import TransactionCase
class TestContractCommon(TransactionCase):
@classmethod
def setUpClass(cls):
super(TestContractCommon, cls).setUpClass()
cls.employee = cls.env['hr.employee'].create({
'name': 'Richard',
'gender': 'male',
'country_id': cls.env.ref('base.be').id,
})