Cover all revision status groupings in the lifecycle consistency test

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

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

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

評価

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

調査の方向性

test_lifecycle_groupings_match_the_choice_set()と、constants.pyにあるリビジョンステータスのグループ分けを確認してください。既存のアサーションを読み、テストのチェックにUNSTORED_REVISION_STATUSESを含めてください。ライフサイクル整合性テストを実行し、そのグループにRevisionStatusChoicesの有効かつ重複のない値だけが含まれていることを確認してください。

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

説明

app: scripts Bucket: KTLO status: backlog type: housekeeping
Proposed Changes

Extend test_lifecycle_groupings_match_the_choice_set() to include UNSTORED_REVISION_STATUSES.

Justification

The existing test checks that revision status groupings defined in constants.py contain only valid and unique values from RevisionStatusChoices. However, UNSTORED_REVISION_STATUSES is currently missing from these checks.

Including it ensures consistent coverage across all six revision status groupings and helps prevent future discrepancies.

主要言語
Python
スター
9
フォーク
0
平均マージ
18時間 59分
マージ済み PR(30日)
93

環境構築

はじめの一歩

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

netbox-community/netbox-scripts のほかの issue

netbox-community/netbox-scripts の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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