mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-14 00:06:02 -05:00
Go tests: - TestInvalidStatusCode_TooLow: verify status 42 returns 500 error - TestInvalidStatusCode_TooHigh: verify status 1000 returns 500 error - TestInvalidStatusCode_DoesNotPanic: ensure no panic for any invalid code - TestFlush_WithFlusher: verify flush calls http.Flusher.Flush() - TestFlush_WithoutFlusher: verify flush doesn't panic without Flusher - TestFlushGracefulDegradation: mirror plugin/http_test.go behavior - TestStreamResponseBody_WithFlush: verify flush flags processed in stream - TestEarlyResponse_CancelsRequestSend: verify early response stops sender Python tests: - test_flush_method_exists: verify flush() is callable - test_flush_applies_to_last_write: verify retroactive flush - test_flush_applies_to_next_write_when_empty: verify pre-write flush - test_multiple_writes_with_selective_flush: verify selective flushing - test_streaming_response_chunks: verify multiple writes = multiple messages - test_empty_body_response: verify no-body response handling - test_response_headers_in_first_message: verify header placement Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src/mattermost_plugin | ||
| tests | ||
| pyproject.toml | ||