test: make pytest collect the infracost and sg_workflow tests
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 92/100
調査の方向性
リネームする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 の本文から書いたものです。
説明
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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
StackGuardian/tirith のほかの issue
-
chore: remove stale TODOs and commented-out code対応中かも @krishna2707 が 2 日前に担当しました。 オープンchore good first issue hacktoberfest
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
StackGuardian/tirith#408 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
test(evaluators): edge cases for `Equals` and `NotEquals`対応中かも @Ankit-cs が 1 日前に担当しました。 オープンgood first issue hacktoberfest tests
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
StackGuardian/tirith#406 ·
メンテナーはふだん 1 日以内に返信
-
test(kubernetes): cover the provider's main paths対応中かも @afsuyadi が 1 日前に担当しました。 オープンgood first issue hacktoberfest tests
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
StackGuardian/tirith#405 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
fix(kubernetes): missing `kubernetes_kind` or `attribute_path` errors are dropped対応中かも @Ankit-cs が 1 日前に担当しました。 オープンbug good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
StackGuardian/tirith#404 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
research
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
StackGuardian/tirith#356 ·
メンテナーはふだん 1 日以内に返信
StackGuardian/tirith の issue をすべて見る
似ている issue
-
docs: the dev-setup table and AGENTS.md name the reviewed_by guard that CI's Changelog job runsオープンarea: tools documentation good first issue ready for a contributor
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
eyalgolan/statecraft-israel#873 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 5 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信