Skip to content

test: add API edge case tests for validation and rate limits - #95

Merged
harsh0641 merged 1 commit into
mainfrom
test/api-edge-cases
Nov 20, 2026
Merged

harsh0641 merged 1 commit into
mainfrom
test/api-edge-cases

Conversation

@harsh0641

@harsh0641 harsh0641 commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Adds tests/test_api_edge.py covering:

  • Invalid repo, top, language, level on /rank and /repos (422)
  • 429 responses with Retry-After on /rank and /feedback
  • Invalid and valid /feedback bodies

Uses dependency overrides and a stubbed log_feedback, so no external calls are made.

@harsh0641
harsh0641 merged commit 39b015e into main Nov 20, 2026
12 checks passed
@harsh0641
harsh0641 deleted the test/api-edge-cases branch November 20, 2026 02:00
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