test: Test Cases to confirm the correct serializer is returned from ViewSet

ref: #15 #248 #392 #393
This commit is contained in:
2024-11-24 00:28:58 +09:30
parent 8cca6e3a9e
commit 95ac6a4277
2 changed files with 171 additions and 1 deletions

View File

@ -32,7 +32,14 @@ Views are used with Centurion ERP to Fetch the data for rendering.
- Index Viewsets must be tested against tests `from api.tests.abstract.viewsets import ViewSetCommon`
- Model VieSets must be tested against tests `from api.tests.abstract.viewsets import ViewSetModel`
- Model VieSets must be tested against the following tests:
- _Unit Test Cases_ `from api.tests.abstract.viewsets import ViewSetModel`
- _Functional test cases_ `from api.tests.abstract.api_serializer_viewset import SerializersTestCases`
- _Functional test cases_ `from api.tests.abstract.api_permissions_viewset import APIPermission`
## Permissions