Skip to content

test: assert code requirement keeps next lesson locked - #16

Merged
gon7187 merged 1 commit into
mainfrom
hermes/t_c39dcc63
Jul 28, 2026
Merged

test: assert code requirement keeps next lesson locked#16
gon7187 merged 1 commit into
mainfrom
hermes/t_c39dcc63

Conversation

@gon7187

@gon7187 gon7187 commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Correction PR from kanban t_c39dcc63 (VERIFY T5).

Verification of merged PR #11 (require-code gating) found all acceptance criteria PASS. One test-integrity gap restored: test_lesson_requires_correct_code_for_completion now directly asserts the next lesson stays locked (403) when no-code answers are submitted to a code-required lesson.

Evidence (worktree /root/projects/.hermes-worktrees/t_c39dcc63):

  • uv run pytest -q: 11 passed
  • targeted: test_extended_course_unlocks_after_foundation PASS, test_lesson_requires_correct_code_for_completion PASS
  • ruff check + format check on tests/test_api.py clean

DO NOT merge without human review.

@gon7187
gon7187 merged commit cdeeb06 into main Jul 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant