mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-11 14:54:34 -05:00
- Add test_hooks_grpc_integration.py with in-process gRPC tests: - Test Implemented RPC returns correct hook list - Test lifecycle hooks (OnActivate, OnDeactivate, OnConfigurationChange) - Test MessageWillBePosted allow/reject/modify scenarios - Test notification hooks (MessageHasBeenPosted) - Test activation failure propagation via response.error - Test async handlers work through gRPC - Fix lifecycle hooks to encode errors in response, not gRPC status - Remove context parameter from runner.invoke() for lifecycle hooks - Ensures activation failures are returned as AppError, not gRPC error Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_client_smoke.py | ||
| test_codegen_imports.py | ||
| test_hook_registry.py | ||
| test_hook_runner.py | ||
| test_hooks_grpc_integration.py | ||
| test_hooks_lifecycle.py | ||
| test_hooks_messages.py | ||
| test_plugin_bootstrap.py | ||
| test_posts_files_kv.py | ||
| test_users_teams_channels.py | ||