Skip to content

test: remove implementation-detail and script unit tests - #221

Merged
PsiACE merged 1 commit into
mainfrom
chore/remove-implementation-detail-tests
Nov 30, 2026
Merged

PsiACE merged 1 commit into
mainfrom
chore/remove-implementation-detail-tests

Conversation

@PsiACE

@PsiACE PsiACE commented Nov 30, 2026

Copy link
Copy Markdown
Member

Removes tests coupled to internal helpers, private attributes, synthetic mocks, and codegen script internals while keeping public behavior and regression coverage intact.

Summary

  • Remove internal helper and script unit-test files (tests/http/test_protocol.py, tests/http/test_sse.py, tests/http/test_cookies.py, tests/test_message_sender.py, tests/test_param_model.py, tests/test_protocol_router.py, tests/test_sender_parameters.py, tests/test_utils.py) and trim tests/test_gen_all.py down to the v1/v2 signature sync check.
  • Replace private-attribute checks and fake-writer/mocked-loop assertions with public wire, transport, and subprocess tests across tests/test_connection_recovery.py, tests/test_rpc.py, tests/test_reentrant_shutdown.py, tests/test_request_error_logging.py, tests/test_deserialize.py, tests/test_elicitation_catchall.py, tests/test_protocol_method_coverage.py, tests/test_stateless_mcp.py, tests/http/test_fixes.py, tests/http/test_http_client.py, tests/http/test_ws_cookies.py, tests/http/test_websocket.py, tests/test_golden.py, and tests/real_user/test_stdio_writer.py.
  • Net diff: 23 files changed (+369 / -1627, 8 files deleted).

Verification

  • make gen-check
  • make check
  • make test (620 passed, 1 skipped, 0 warnings)

@PsiACE
PsiACE merged commit 38799b4 into main Nov 30, 2026
9 checks passed
@PsiACE
PsiACE deleted the chore/remove-implementation-detail-tests branch November 30, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant