Skip to content

Harden tests and treat empty HTTP success as None - #4

Merged
AJFrio merged 1 commit into
mainfrom
test/harden-suite-and-empty-bodies
Aug 14, 2026
Merged

Harden tests and treat empty HTTP success as None#4
AJFrio merged 1 commit into
mainfrom
test/harden-suite-and-empty-bodies

Conversation

@AJFrio

@AJFrio AJFrio commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Split route tests by API group and assert HTTP method, camelCase JSON, and query params for every resource method.
  • Add transport/resolver unit tests plus an introspection check that every public *API method is exercised.
  • Return None for empty 204/empty-body success instead of a fake raw payload; do not auto-follow s3Url list envelopes.

Test plan

  • python tools/check.py --all (ruff format/check, mypy, harness linters, pytest)
  • GitHub CI check job green

🤖 Generated with Claude Code

Empty HTTP success bodies now return None instead of a fake raw payload.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@AJFrio
AJFrio merged commit 2a9e376 into main Aug 14, 2026
1 check 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