chore(human_resources): Remove superflous functional tests for ViewSet for model Employee
ref: #897 #881
This commit is contained in:
@ -1131,6 +1131,9 @@ class SubModelViewSetTestCases(
|
||||
pass
|
||||
|
||||
|
||||
# ToDo: Test returned serializer for all CRUD. Add, Change, Delete, Replace and View
|
||||
|
||||
|
||||
|
||||
@pytest.mark.api
|
||||
@pytest.mark.viewset
|
||||
|
@ -1,40 +0,0 @@
|
||||
from access.tests.functional.contact.test_functional_contact_permission import (
|
||||
ContactPermissionsAPIInheritedCases
|
||||
)
|
||||
|
||||
|
||||
|
||||
class EmployeePermissionsAPITestCases(
|
||||
ContactPermissionsAPIInheritedCases,
|
||||
):
|
||||
|
||||
add_data: dict = {
|
||||
'employee_number': 123456,
|
||||
}
|
||||
|
||||
kwargs_create_item: dict = {
|
||||
'employee_number': 1234568,
|
||||
}
|
||||
|
||||
kwargs_create_item_diff_org: dict = {
|
||||
'employee_number': 1234567,
|
||||
}
|
||||
|
||||
|
||||
|
||||
class EmployeePermissionsAPIInheritedCases(
|
||||
EmployeePermissionsAPITestCases,
|
||||
):
|
||||
|
||||
add_data: dict = None
|
||||
|
||||
kwargs_create_item: dict = None
|
||||
|
||||
kwargs_create_item_diff_org: dict = None
|
||||
|
||||
|
||||
class EmployeePermissionsAPIPyTest(
|
||||
EmployeePermissionsAPITestCases,
|
||||
):
|
||||
|
||||
pass
|
Reference in New Issue
Block a user