Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: add unit tests for controllers and services #28

Closed
wants to merge 1 commit into from

Conversation

Q-Niranjan
Copy link
Contributor

This PR improves test coverage for the OpenG2P Portal API, with a focus on controllers, services, and exception handling. The tests ensure key functionalities like authentication, file handling, program management, and error scenarios are robustly covered.

Controllers: Auth, Discovery, File, Form, OAuth, and Program controllers tested.
Services: Document File, Form, Membership, Partner, and Program services tested.
Exception Handling: Validates error scenarios and authorization flows.
Testing: 81% coverage with pytest, mock dependencies, and async handling.

Impact: Ensures reliable API behavior, prevents regressions, and improves maintainability.

@Q-Niranjan Q-Niranjan closed this Nov 11, 2024
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