Skip to content

Comments

Working oauth tests#40

Merged
ajharris merged 2 commits intomainfrom
working-oauth-tests
Aug 7, 2025
Merged

Working oauth tests#40
ajharris merged 2 commits intomainfrom
working-oauth-tests

Conversation

@ajharris
Copy link
Contributor

@ajharris ajharris commented Aug 7, 2025

No description provided.

- Created a test module for OAuth authentication in backend/tests/test_auth_routes.py.
- Implemented integration tests for the complete OAuth flow in backend/tests/test_integration.py.
- Added unit tests for User model functionality in backend/tests/test_models.py.
- Developed tests for OAuth service providers in backend/tests/test_oauth_services.py.
- Introduced security edge case tests in backend/tests/test_security_edge_cases.py.
- Established a test configuration in backend/tests/conftest.py for isolated testing.
- Included tests for handling various OAuth scenarios, including error handling and edge cases.
- Added custom unauthorized handler for API/JSON responses in Flask-Login.
- Introduced a provider-less login route for better user experience.
- Improved test script to check for Python 3.12 and set up virtual environment if not found.
- Injected dummy OAuth credentials for testing purposes.
- Updated tests to ensure proper handling of authentication errors and edge cases.
@ajharris ajharris merged commit 99ceefb into main Aug 7, 2025
2 of 10 checks passed
@ajharris ajharris deleted the working-oauth-tests branch August 7, 2025 21:40
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