Cover all revision status groupings in the lifecycle consistency test
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
Research direction
Find test_lifecycle_groupings_match_the_choice_set() and the revision status groupings in constants.py. Read the existing assertions, then include UNSTORED_REVISION_STATUSES in the test’s checks. Run the lifecycle consistency test and confirm the grouping contains only valid, unique values from RevisionStatusChoices.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 9
- Forks
- 0
- Avg merge
- 18h 59m
- Merged PRs (30d)
- 93
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from netbox-community/netbox-scripts
-
app: scripts Bucket: Improve complexity: low status: backlog type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
netbox-community/netbox-scripts#244 ·
Maintainers usually reply within 1 day
-
Correct the documentation of a Project's current revisionPossibly taken @pheus claimed this today. Openapp: scripts Bucket: KTLO status: accepted type: documentation
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
netbox-community/netbox-scripts#233 · 1 assignee ·
Maintainers usually reply within 1 day
-
app: scripts complexity: medium status: backlog type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
netbox-community/netbox-scripts#229 ·
Maintainers usually reply within 1 day
-
app: scripts status: backlog type: housekeeping
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
netbox-community/netbox-scripts#228 ·
Maintainers usually reply within 1 day
-
app: scripts severity: low status: backlog type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
netbox-community/netbox-scripts#225 ·
Maintainers usually reply within 1 day
All issues in netbox-community/netbox-scripts
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
plone/plone.observability#114 ·
Maintainers usually reply within 1 day
-
area:docs type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jejjohnson/gauss_flows#246 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openvax/varcode#824 · 1 comment ·
Maintainers usually reply within 1 day
-
netbox status: needs triage type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
netbox-community/netbox#23868 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
emeryberger/CSrankings#15757 ·
Maintainers usually reply within 9 days