google-auth: Clean up test coverage and outdated docstrings for mTLS and Identity Pool
維護者通常 1 天內回覆
評估
研究方向
從 tests/transport/test_aio_mtls_helper.py 開始,更新 test_get_client_cert_and_key_callback_sync 的 docstring 和註解。接著結合現有測試檢查 google/auth/compute_engine/_mtls.py 和 google/auth/identity_pool.py,涵蓋 MdsMtlsAdapter.close() 以及所提到的 RefreshError 路徑。執行受影響的測試,並確認已移除過時的 TypeError 參照,且缺少的路徑已獲得涵蓋。
由索引模型根據 Issue 內容生成。
描述
There are a few minor gaps in test coverage and test documentation that should be cleaned up in the google-auth library:
- In
tests/transport/test_aio_mtls_helper.py, the docstring and comments fortest_get_client_cert_and_key_callback_syncreference aTypeErrorfallback that is no longer used (the code now usesinspect.isawaitable()). - The
MdsMtlsAdapter.close()method ingoogle/auth/compute_engine/_mtls.pylacks test coverage. - There are several
RefreshErrorexception paths ingoogle/auth/identity_pool.py(specifically around leaf certificate retrieval and parsing) that are currently missing test coverage.
- 主要語言
- Python
- 星號
- 5.4k
- 分支
- 1.8k
- 平均合併
- 2 天 6 小時
- 30 天內合併 PR
- 197
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
googleapis/google-cloud-python 的其他 Issue
-
api: spanner type: feature request
難度 2/5 1-3 小時 新手友好度 68/100
googleapis/google-cloud-python#18584 ·
維護者通常 1 天內回覆
-
auth: call_client_cert_callback() discards passphrase for encrypted keys可能已有人在做 @kwy404 於 18 天前認領。 未關閉
難度 1/5 1-3 小時 新手友好度 92/100
googleapis/google-cloud-python#18467 ·
維護者通常 1 天內回覆
-
auth: `impersonated_credentials` loses `subject` on copy, so `with_scopes()` and `with_quota_project()` turn off domain wide delegation可能已有人在做 @Om-singhaI 於 29 天前認領。 未關閉auth priority: p2 type: bug
難度 2/5 1-3 小時 新手友好度 88/100
googleapis/google-cloud-python#18428 ·
維護者通常 1 天內回覆
-
priority: p2 type: bug
難度 2/5 1-3 小時 新手友好度 72/100
googleapis/google-cloud-python#18375 · 1 則留言 ·
維護者通常 1 天內回覆
-
ci: enable --strict flag in presubmit twine_check可能已有人在做 @ohmayr 於 18 天前認領。 未關閉
難度 1/5 1 小時以內 新手友好度 76/100
googleapis/google-cloud-python#18339 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
查看 googleapis/google-cloud-python 的全部 Issue
相似的 Issue
-
Pull-through from gcr.io returns 500 when pulling using podman/buildah可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉Issue Triage-Needed
難度 2/5 1-3 小時 新手友好度 68/100
pulp/pulp_container#2581 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
521xueweihan/HelloGitHub#4040 ·
-
bug
難度 2/5 1-3 小時 新手友好度 64/100
ClanGenOfficial/clangen#6313 ·
維護者通常 2 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆
-
bug(trainer): CustomTrainer func_args with non literal values fail inside the TrainJob可能已有人在做 @avanishkasar 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆