From 3ce42de57e55fc525de74e14c529a0ad583aeb63 Mon Sep 17 00:00:00 2001 From: Drew Cain Date: Thu, 11 Jun 2026 12:54:10 -0500 Subject: [PATCH] test(mcp): narrow read_note return before string assertions for ty Co-Authored-By: Claude Signed-off-by: Drew Cain --- tests/mcp/test_tool_write_note.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/mcp/test_tool_write_note.py b/tests/mcp/test_tool_write_note.py index 0b06684a..40db9387 100644 --- a/tests/mcp/test_tool_write_note.py +++ b/tests/mcp/test_tool_write_note.py @@ -495,6 +495,7 @@ async def test_write_note_single_line_inline_fence_is_body_issue_972(app, test_p ) content = await read_note("meetings/meeting-notes", project=test_project.name) + assert isinstance(content, str) # The literal one-line string survives verbatim in the body... assert one_line in content