Commit 9ba436f
Add comprehensive unit tests for Client API and model validation
Increase unit test count from 19 to 106:
- test_client.py: 38 tests covering all Client API methods (alerts,
blackouts, customers, heartbeats, keys, permissions, users, groups,
auth, search/pagination, error handling) using requests_mock
- test_models.py: 49 tests covering model validation, defaults,
parse error handling, tabular output, repr, and enum values for
Alert, Blackout, Heartbeat, Group, ApiKey, Permission, User,
Customer, Scope, ChangeType, and NoteType
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent bec4992 commit 9ba436f
2 files changed
Lines changed: 816 additions & 0 deletions
0 commit comments