Skip to content

Add test for SwRequirementSwRequirementsMapping#171

Merged
pellecchialuigi merged 5 commits intomainfrom
test-147
Jun 16, 2025
Merged

Add test for SwRequirementSwRequirementsMapping#171
pellecchialuigi merged 5 commits intomainfrom
test-147

Conversation

@pellecchialuigi
Copy link
Copy Markdown
Collaborator

Adding test cases for SwRequirementSwRequirementsMapping endpoint
Added read/write user permission verification method to be used as decorator across all endpoints in api.py.
Modified ApiDocumentsMapping and ApiSwRequirementsMapping to use the decorators.
api.py lint with autopep8

Luigi Pellecchia added 4 commits June 16, 2025 13:21
…read and write permissions to standardize the checks and reduce code duplication. Need to be extended to all the endpoints. Fix issues in the implementation.
…ment_mapping.py

Signed-off-by: Luigi Pellecchia <lpellecc@redhat.com>
@pellecchialuigi
Copy link
Copy Markdown
Collaborator Author

Refers to #147

…o use the new permission check in the api

Signed-off-by: Luigi Pellecchia <lpellecc@redhat.com>
@pellecchialuigi pellecchialuigi merged commit 96a0695 into main Jun 16, 2025
2 of 3 checks passed
@pellecchialuigi pellecchialuigi deleted the test-147 branch June 16, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant