Skip to content

[TEST] Expand test coverage with exceptions and agents tests#23

Merged
IISweetHeartII merged 2 commits intodevelopfrom
feat/expand-test-coverage
Apr 17, 2026
Merged

[TEST] Expand test coverage with exceptions and agents tests#23
IISweetHeartII merged 2 commits intodevelopfrom
feat/expand-test-coverage

Conversation

@IISweetHeartII
Copy link
Copy Markdown
Contributor

Description

Expand test coverage from 12 to 34 tests (183% increase).

Changes Made

  • test_exceptions.py: 15 tests covering all exception classes — defaults, custom messages, inheritance hierarchy, catch-all pattern
  • test_agents.py: 3 tests for agents resource — register, me, status

Testing

  • All 34 tests passing (pytest tests/ -v)
  • Python 3.14 compatible

Checklist

  • Tests follow project conventions (pytest, class-based, mock HTTP)
  • No new dependencies added

- 15 tests for all exception classes (defaults, messages, inheritance, hierarchy)
- 3 tests for agents resource (register, me, status)
- Total test count: 12 → 34 (183% increase)
@github-actions github-actions bot added the area: testing Test code label Apr 11, 2026
- Auto-formatted by black (pre-existing formatting issue)
@github-actions github-actions bot added the area: sdk SDK core library label Apr 11, 2026
Copy link
Copy Markdown
Contributor Author

@IISweetHeartII IISweetHeartII left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review summary: this materially improves coverage around exception semantics and agents resource calls, and the runtime code changes are limited to formatting-only cleanup. I did not find a blocking issue.

@IISweetHeartII IISweetHeartII merged commit 3fdf8c7 into develop Apr 17, 2026
5 checks passed
@IISweetHeartII IISweetHeartII deleted the feat/expand-test-coverage branch April 17, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: sdk SDK core library area: testing Test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant