Skip to content

test: add client init and error handling tests#14

Merged
govindkavaturi-art merged 1 commit intomainfrom
test/fill-sdk-gaps
Apr 4, 2026
Merged

test: add client init and error handling tests#14
govindkavaturi-art merged 1 commit intomainfrom
test/fill-sdk-gaps

Conversation

@govindkavaturi-art
Copy link
Copy Markdown
Collaborator

Summary

4 new tests covering SDK client initialization and error handling:

  • test_client_has_cues_resource — verifies cues/executions attributes exist
  • test_client_accepts_base_url — verifies custom base URL
  • test_client_close_is_idempotent — close() called twice doesn't raise
  • test_invalid_api_key_raises_auth_error — bad key raises AuthenticationError

All pass locally (3/3 init tests, error test needs staging).

🤖 Generated with Claude Code

4 new tests covering previously untested SDK areas:
- Client constructor with cues/executions resources
- Custom base_url handling
- close() idempotency
- Invalid API key raises AuthenticationError

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@govindkavaturi-art govindkavaturi-art enabled auto-merge (squash) April 4, 2026 18:58
@govindkavaturi-art govindkavaturi-art merged commit ff39976 into main Apr 4, 2026
4 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.

2 participants