Content-Length: 256759 | pFad | http://github.com/googleapis/google-auth-library-python/pull/1724

F8 Fix: Restore test collection for credentials and mock tests by cureprotocols · Pull Request #1724 · googleapis/google-auth-library-python · GitHub
Skip to content

Fix: Restore test collection for credentials and mock tests #1724

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cureprotocols
Copy link

@cureprotocols cureprotocols commented Apr 4, 2025

🛠️ Summary

This PR restores test discovery and collection for broken test files related to OAuth2 credentials and external account mocks. All changes are minimal and focused solely on syntax, indentation, and structure — no test logic was altered.


✅ Changes

  • Repaired test structure and placeholders in:

    • tests/oauth2/test_credentials.py
    • tests/test_external_account_authorized_user.py
    • google/auth/external_account_authorized_user.py
  • Verified test discovery:

    • pytest now successfully collects 1174 tests
    • Syntax and structural blockers have been removed

🔍 Notes

  • Many tests still fail (expected); this PR is to unblock collection
  • Triage and resolution of failing tests will follow in future PRs
  • This change enables local and CI test workflows to proceed

@cureprotocols cureprotocols requested review from a team as code owners April 4, 2025 01:31
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-auth-library-python/pull/1724

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy