tests: system tests for expired User Credentials by google-labs-jules[bot] · Pull Request #1937 · googleapis/google-auth-library-python

@google-labs-jules

Updates `system_tests_sync/test_default.py` and `system_tests_async/test_default.py` to correctly identify and exempt `google.oauth2.credentials.Credentials` (User Credentials) from failures caused by expired or invalid tokens (`invalid_grant`, `invalid_client`). This prevents system tests from failing when running with expired default user credentials in local or CI environments.

@chalmerlowe

@chalmerlowe self-assigned this

Jan 14, 2026

@chalmerlowe chalmerlowe changed the title Fix system tests for expired User Credentials fix: system tests for expired User Credentials

Jan 15, 2026

chalmerlowe

gkevinzheng

@parthea parthea changed the title fix: system tests for expired User Credentials tests: system tests for expired User Credentials

Jan 15, 2026

@chalmerlowe

@chalmerlowe chalmerlowe deleted the jules-13051961428180802207-95fbd6c5 branch

January 15, 2026 17:45