mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-11 06:44:24 -05:00
Create end-to-end integration tests proving Python SDK communicates correctly with gRPC servers: API Round-trip Tests: - test_get_server_version_round_trip: Version API call - test_get_system_install_date_round_trip: Install date API call - test_get_user_round_trip: User lookup with entity serialization - test_multiple_api_calls_in_sequence: Sequential API calls Error Propagation Tests: - test_not_found_error: NOT_FOUND -> NotFoundError mapping - test_permission_denied_error: PERMISSION_DENIED mapping - test_app_error_in_response: AppError -> PluginAPIError conversion - test_error_recovery: Client recovery after errors Hook Invocation Tests: - test_implemented_returns_hooks: Implemented RPC verification - test_lifecycle_hooks_invocation: OnActivate/OnDeactivate chain - test_message_hook_allows_post: Normal message passthrough - test_message_hook_rejects_spam: Message rejection - test_message_hook_modifies_post: Message modification Complex Scenario Tests: - test_concurrent_api_calls: Multi-threaded API calls - test_sequential_connect_disconnect: Connection lifecycle - test_large_message_handling: Large payload handling Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src/mattermost_plugin | ||
| tests | ||
| pyproject.toml | ||