chore(human_resources): Remove superflous functional tests for Serializer for model Employee
ref: #897 #881
This commit is contained in:
@ -1,45 +0,0 @@
|
||||
import pytest
|
||||
|
||||
from rest_framework.exceptions import ValidationError
|
||||
|
||||
from access.tests.functional.contact.test_functional_contact_serializer import (
|
||||
ContactSerializerInheritedCases
|
||||
)
|
||||
|
||||
|
||||
|
||||
class EmployeeSerializerTestCases(
|
||||
ContactSerializerInheritedCases
|
||||
):
|
||||
|
||||
|
||||
parameterized_test_data: dict = {
|
||||
"employee_number": {
|
||||
'will_create': False,
|
||||
'exception_key': 'required'
|
||||
}
|
||||
}
|
||||
|
||||
valid_data: dict = {
|
||||
'employee_number': 123456,
|
||||
}
|
||||
"""Valid data used by serializer to create object"""
|
||||
|
||||
|
||||
|
||||
class EmployeeSerializerInheritedCases(
|
||||
EmployeeSerializerTestCases,
|
||||
):
|
||||
|
||||
parameterized_test_data: dict = None
|
||||
|
||||
valid_data: dict = None
|
||||
"""Valid data used by serializer to create object"""
|
||||
|
||||
|
||||
|
||||
class EmployeeSerializerPyTest(
|
||||
EmployeeSerializerTestCases,
|
||||
):
|
||||
|
||||
parameterized_test_data: dict = None
|
Reference in New Issue
Block a user