From dda845aa12310b3dd0d4f314bdd51812621b12a9 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Sat, 7 Feb 2026 14:12:54 +0100 Subject: [PATCH] docs: clarify test file structure convention in CLAUDE.md (#2006) --- CLAUDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index a4ef16e4..d7b17563 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -29,6 +29,9 @@ This document contains critical information about working with this codebase. Fo - IMPORTANT: The `tests/client/test_client.py` is the most well designed test file. Follow its patterns. - IMPORTANT: Be minimal, and focus on E2E tests: Use the `mcp.client.Client` whenever possible. +Test files mirror the source tree: `src/mcp/client/streamable_http.py` → `tests/client/test_streamable_http.py` +Add tests to the existing file for that module. + - For commits fixing bugs or adding features based on user reports add: ```bash