Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

google-auth: Clean up test coverage and outdated docstrings for mTLS and Identity Pool

オープン
#17,758 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@MahendraMula がすでに取り組んでいます。

2026年9月9日 から。

  • #18319 @MahendraMula による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
74/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
testing

調査の方向性

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 の本文から書いたものです。

説明

auth effort: low priority: p3 testing type: cleanup

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 for test_get_client_cert_and_key_callback_sync reference a TypeError fallback that is no longer used (the code now uses inspect.isawaitable()).
  • The MdsMtlsAdapter.close() method in google/auth/compute_engine/_mtls.py lacks test coverage.
  • There are several RefreshError exception paths in google/auth/identity_pool.py (specifically around leaf certificate retrieval and parsing) that are currently missing test coverage.
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
2日 10時間
マージ済み PR(30日)
121

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/google-cloud-python のほかの issue

googleapis/google-cloud-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。