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

Revise test_updater_ng.py

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

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
testing-qa

調査の方向性

test_updater_ng.py から始め、ファイルシステムをバックエンドとする HTTP サーバーのセットアップと、RepositorySimulator がメモリ上で提供するファイルを比較します。既存のテストで対象となっている Updater と HTTP サーバーの統合を理解するため、ngclient/updater.py を読みます。既存の有用なカバレッジを維持し、意味のある統合テストセットになるようにテストを追加または見直せば完了です。

索引モデルが issue の本文から書いたものです。

説明

testing

Description of issue or feature request:

Currently test_updater_ng.py is the single place where ngclient/updater.py is tested with an HTTP server instance serving files from the file system and not with the in-memory files served by RepositorySimulator. The tests included are not well thought out and were added with the goal of achieving acceptable test coverage.

Revise the existing tests and determine what is worth keeping and/or what should be added to build a meaningful set of integration tests of Updater + HTTP server.

主要言語
Python
スター
1.7k
フォーク
304
平均マージ
1日 2時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

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

theupdateframework/python-tuf のほかの issue

theupdateframework/python-tuf の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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