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

test: make pytest collect the infracost and sg_workflow tests

オープン 初心者向け
#403 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
92/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
testing

調査の方向性

リネームする2つのファイルは tests/providers/infracost/tests_infracost.py と tests/providers/sg_workflow/tests_sg_workflow.py です。まず pytest --collect-only -q tests/providers を実行し、これらが出力に含まれていないことを確認します。その後、両方を git mv で test_infracost.py と test_sg_workflow.py にリネームします。同じコマンドで30件のテストが一覧に表示され、pytest tests/ が成功すれば完了です。

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

説明

good first issue hacktoberfest tests
Problem

pytest only collects files named test_*.py or *_test.py. tests/providers/infracost/tests_infracost.py (6 tests) and tests/providers/sg_workflow/tests_sg_workflow.py (24 tests) don't match, so CI has never run them. They all pass when run by path today.

What to change

Rename both files to test_infracost.py and test_sg_workflow.py with git mv. No other changes.

Done when

pytest --collect-only -q tests/providers lists the 30 tests and CI is green.


Comment to claim this issue and wait to be assigned. Unclaimed or inactive for 3 days, it returns to the pool. Run pytest tests/ and black --line-length 120 before opening the PR.

主要言語
Python
スター
176
フォーク
54
平均マージ
1日 20時間
マージ済み PR(30日)
9

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

StackGuardian/tirith のほかの issue

StackGuardian/tirith の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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