Repository navigation
chore(tests): move issue7 acceptance check into tests/ as pytest - #124
Conversation
|
The only thing blocking this is DCO, and it's a mechanical fix — nothing wrong with the code. Neither of your two commits carries a git checkout chore/move-issue7-acceptance-to-tests
git rebase --signoff HEAD~2
git push --force-with-leaseThe trailer has to match your commit author identity — On the change itselfThe substance is right, and I want to name the specific thing you did well: you took a review note about a hand-run script and turned it into something CI enforces, rather than just moving the file. Parametrizing across the 5 output modes is more than the note asked for. Restoring the assert diagnostic messages was the right call too. A bare Note that #7 is now closed — your #108 implemented it, and I closed it today with the verification recorded. This PR doesn't need re-scoping; it's test-harness hygiene and stands on its own regardless of the issue state. After thisYou've now done a CLI feature (#81), an RBAC rule (#108), and a test-infrastructure cleanup — that's a wider range than most people get to in three PRs. Two that fit how you work, and nobody else is on either:
Comment on either and I'll assign it same-day so nobody doubles up on you. Sign off the commits and I'll merge this as soon as DCO goes green. |
Per @rrskris's review on kaaval#108: check_issue7_acceptance.py was a standalone script that only ran when someone remembered to invoke it by hand. Moved its logic into tests/test_issue7_acceptance.py so it runs in CI like everything else. Same assertions, same fixtures, now parametrized across the 5 output modes instead of a manual loop. Verified locally against current main (6/6 passed): ./.venv/bin/pytest tests/test_issue7_acceptance.py -v Signed-off-by: KK Nkama <[email protected]>
Codex (independent bridge verifier) caught that the pytest conversion dropped the original script's assert-message values (assert ..., sev / assert ..., kinds), reducing failure diagnostics. Restored them. Verified locally (6/6 passed): ./.venv/bin/pytest tests/test_issue7_acceptance.py -v Signed-off-by: KK Nkama <[email protected]>
5967cc4 to
9302f9a
Compare
Adds release-notes entries for the five contributor PRs merged today: Grype ingestion (#123, @Diyaaa-12), combo-escalation remediation and rule catalog (#133, @Maqbool61), the combination-takeover fixture (#152, @Maqbool61), the Postgres-unreachable test skip (#151, @HeaTTap — first contribution), and the CIS 5.1.6 acceptance check moving into CI (#124, @donkk11). Also records the fixture-comment correction from #157. Signed-off-by: Vamshi Krishna Santhapuri <[email protected]>
Follow-up to #108 per @rrskris's review — moved
check_issue7_acceptance.pyintotests/test_issue7_acceptance.pyas a proper pytest case, parametrized across the 5 output modes, so it runs in CI instead of only when someone remembers to invoke it by hand.Same assertions and fixture as the original (restored the explicit
assert ..., valuediagnostic messages after an independent second-model review flagged their absence). Verified locally against currentmain— 6/6 passing.Thanks again for catching the live-mode RBAC gap, and for running the acceptance check yourself rather than trusting the PR description.