mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
Add comprehensive test suite covering: Wrapper type tests: - User, Team, Channel from_proto/to_proto round-trips - UserStatus, TeamMember, ChannelMember conversions Client method tests: - User: get_user success, not found error, gRPC error, create_user - Team: get_team, create_team_member, get_teams_for_user - Channel: get_channel, add_channel_member, get_direct_channel, search Error handling tests: - PermissionDeniedError (HTTP 403) - ValidationError (HTTP 400) - AlreadyExistsError (HTTP 409) All 21 tests use mocked stubs for fast execution. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_client_smoke.py | ||
| test_codegen_imports.py | ||
| test_users_teams_channels.py | ||