diff options
Diffstat (limited to 'addons/hr/tests/common.py')
| -rw-r--r-- | addons/hr/tests/common.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/hr/tests/common.py b/addons/hr/tests/common.py new file mode 100644 index 00000000..4aacc265 --- /dev/null +++ b/addons/hr/tests/common.py @@ -0,0 +1,13 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo.addons.mail.tests.common import mail_new_test_user +from odoo.tests import common + + +class TestHrCommon(common.TransactionCase): + + def setUp(self): + super(TestHrCommon, self).setUp() + + self.res_users_hr_officer = mail_new_test_user(self.env, login='hro', groups='base.group_user,hr.group_hr_user', name='HR Officer', email='hro@example.com') |
