test(api): ViewSet checks

ref: #345 #346
This commit is contained in:
2024-10-12 21:38:57 +09:30
parent 3bfd2d4ef6
commit 9fe671e43c
2 changed files with 565 additions and 1 deletions

View File

@ -24,6 +24,10 @@ Views are used with Centurion ERP to Fetch the data for rendering.
- views are documented at the class level for the swagger UI.
- 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`
## Pre v1.3 Docs
@ -57,7 +61,7 @@ The views that we use are:
Common test cases are available for views. These test cases can be found within the API docs under [model view test cases](./api/tests/model_views.md).
### Requirements
### Requirements.
All views are to meet the following requirements: