Skip to content

fix(curriculum): add actionable enum assertion messages - #136

Open
frobel0520 wants to merge 1 commit into
abhiksark:devfrom
frobel0520:fix/issue-105-enum-assertions
Open

fix(curriculum): add actionable enum assertion messages#136
frobel0520 wants to merge 1 commit into
abhiksark:devfrom
frobel0520:fix/issue-105-enum-assertions

Conversation

@frobel0520

Copy link
Copy Markdown

Summary

Closes #105.

Add actionable assertion messages to the existing enum curriculum checks in checks/enums/enums1.py through checks/enums/enums6.py.

The predicates, check order, side effects, and success output are unchanged.

Tests

  • python -m pytest tests/integration/test_solution_verify.py -q — 1 passed
  • python -m pythonlings --root tests/fixtures/passing_curriculum verify — passed (passing1, passing2)
  • python -m pytest -q — 208 passed, 7 failed in this Windows environment:
    • 6 failures cannot create symlinks (WinError 1314)
    • 1 failure resolves an older installed pythonlings package without pythonlings.main
  • git diff --check — passed

Screenshots

Not applicable.

Checklist

  • Updated docs when behavior changed — not applicable; assertion messages only
  • Added or updated tests — not applicable; issue scope is assertion messages
  • Verified python -m pytest -q — run; environment-only failures are documented above

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: df6670df-752f-42e7-8081-e187142c0280

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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