[REM] hr_contract : remove tests because they are simply useless

The tests constits of creating an employee and give him a contract.
These are not smart tests. This module uses many base action rule,
but they are already tested in base_action_rule module, so removing
the tests seems better.
This commit is contained in:
fka-odoo
2016-04-14 10:47:39 +02:00
committed by Jérome Maes
parent 095d0174fd
commit 9254c63ab4
2 changed files with 0 additions and 31 deletions
-1
View File
@@ -25,7 +25,6 @@ You can assign several contracts per employee.
'views/hr_contract_views.xml',
],
'demo': [],
'test': ['test/test_hr_contract.yml'],
'installable': True,
'auto_install': False,
}
@@ -1,30 +0,0 @@
-
In order to test hr_contract module in OpenERP, I will create a new employee and create contract for the same.
-
I create a new employee "Mark Johnson".
-
!record {model: hr.employee, id: hr_employee_employee0}:
address_home_id: base.res_partner_address_1
company_id: base.main_company
gender: male
name: Mark Johnson
children: 2
marital: 'married'
place_of_birth: Belgium
vehicle: 'No'
vehicle_distance: 12
-
I create a new contract for "Mark Johnson".
-
!record {model: hr.contract, id: hr_contract_contract0}:
employee_id: 'hr_employee_employee0'
date_end: !eval "'%s-05-18' %(datetime.now().year+1)"
date_start: !eval "'%s-05-18' %(datetime.now().year)"
trial_date_end: !eval "'%s-03-01' %(datetime.now().year)"
trial_date_start: !eval "'%s-04-30' %(datetime.now().year)"
name: contract1
wage: 1.0
type_id: hr_contract_type_emp
working_hours: resource.timesheet_group1