Roberto Musso c1a8ac7669 test: add TestOAuth suite for Google OAuth routes
6 tests covering the authorize and callback endpoints:
- authorize returns URL + state, 503 when unconfigured
- callback: state mismatch → 401, new user creation, existing OAuth
  link re-login (same user sub), email-match auto-linking to password user

Provider methods (exchange_code, get_userinfo) are mocked via AsyncMock
so tests run without hitting Google APIs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 13:42:11 +02:00
2026-04-08 23:27:34 +02:00
2026-04-08 23:27:34 +02:00
2026-03-03 12:39:32 +01:00
2026-04-08 23:27:34 +02:00
2026-03-03 15:14:04 +01:00
2026-03-10 09:11:24 +01:00
2026-04-08 23:52:52 +02:00

The file is empty.
Description
No description provided
Readme 2.7 MiB
Languages
Python 99.4%
Dockerfile 0.4%
Mako 0.2%