test: refactor api model permission tests to use an abstract class of test cases
!27 #15
This commit is contained in:
@ -111,6 +111,8 @@ If your developing using VSCode/VSCodium the testing is available as is the abil
|
||||
|
||||
Models are tested using the following test cases:
|
||||
|
||||
- [ALL Model Permission](./model_permissions.md)
|
||||
|
||||
- [Add Permission](./model_permission_add.md)
|
||||
|
||||
- [Change Permission](./model_permission_change.md)
|
||||
@ -119,6 +121,16 @@ Models are tested using the following test cases:
|
||||
|
||||
- [View Permission](./model_permission_view.md)
|
||||
|
||||
- [ALL API Model Permission](./model_permissions_api.md)
|
||||
|
||||
- [API Add Permission](./model_permission_api_add.md)
|
||||
|
||||
- [API Change Permission](./model_permission_api_change.md)
|
||||
|
||||
- [API Delete Permission](./model_permission_api_delete.md)
|
||||
|
||||
- [API View Permission](./model_permission_api_view.md)
|
||||
|
||||
- [History Entry](./model_history.md)
|
||||
|
||||
- [History Entry (Child Item)](./model_history_child_item.md)
|
||||
|
@ -7,3 +7,5 @@ about: https://gitlab.com/nofusscomputing/infrastructure/configuration-managemen
|
||||
---
|
||||
|
||||
::: app.app.tests.abstract.model_permissions.ModelPermissionsAdd
|
||||
options:
|
||||
show_source: true
|
||||
|
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: API Model Permission add Test Cases
|
||||
description: No Fuss Computings model permissions add unit tests
|
||||
date: 2024-06-16
|
||||
template: project.html
|
||||
about: https://gitlab.com/nofusscomputing/infrastructure/configuration-management/django_app
|
||||
---
|
||||
|
||||
::: app.api.tests.abstract.api_permissions.APIPermissionAdd
|
||||
options:
|
||||
show_source: true
|
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Model Permissions Change Test Cases
|
||||
description: No Fuss Computings model permissions change unit tests
|
||||
date: 2024-06-15
|
||||
template: project.html
|
||||
about: https://gitlab.com/nofusscomputing/infrastructure/configuration-management/django_app
|
||||
---
|
||||
|
||||
::: app.api.tests.abstract.api_permissions.APIPermissionChange
|
||||
options:
|
||||
show_source: true
|
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Model Permissions Delete Test Cases
|
||||
description: No Fuss Computings model permissions delete unit tests
|
||||
date: 2024-06-15
|
||||
template: project.html
|
||||
about: https://gitlab.com/nofusscomputing/infrastructure/configuration-management/django_app
|
||||
---
|
||||
|
||||
::: app.api.tests.abstract.api_permissions.APIPermissionDelete
|
||||
options:
|
||||
show_source: true
|
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Model Permissions View Test Cases
|
||||
description: No Fuss Computings model permissions view unit tests
|
||||
date: 2024-06-15
|
||||
template: project.html
|
||||
about: https://gitlab.com/nofusscomputing/infrastructure/configuration-management/django_app
|
||||
---
|
||||
|
||||
::: app.api.tests.abstract.api_permissions.APIPermissionView
|
||||
options:
|
||||
show_source: true
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: Model Permissions Test Cases
|
||||
description: No Fuss Computings model permissions add unit tests
|
||||
date: 2024-06-15
|
||||
template: project.html
|
||||
about: https://gitlab.com/nofusscomputing/infrastructure/configuration-management/django_app
|
||||
---
|
||||
|
||||
::: app.app.tests.abstract.model_permissions.ModelPermissions
|
||||
options:
|
||||
show_source: true
|
||||
inherited_members: true
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: API Model Permissions Test Cases
|
||||
description: No Fuss Computings model permissions add unit tests
|
||||
date: 2024-06-16
|
||||
template: project.html
|
||||
about: https://gitlab.com/nofusscomputing/infrastructure/configuration-management/django_app
|
||||
---
|
||||
|
||||
::: app.api.tests.abstract.api_permissions.APIPermissions
|
||||
options:
|
||||
show_source: true
|
||||
inherited_members: true
|
Reference in New Issue
Block a user