fix(mcp): set instructions=None in SigV4BuildFromTable test mocks

New MCPServer.instructions field requires a str; MagicMock attributes
not explicitly set return a MagicMock object, which fails Pydantic
validation.
This commit is contained in:
Ishaan Jaffer 2026-04-14 11:05:22 -07:00
parent 693c846617
commit e20c114811
No known key found for this signature in database

View file

@ -838,6 +838,7 @@ class TestSigV4BuildFromTable:
table_record.tool_name_to_description = None
table_record.byok_api_key_help_url = None
table_record.oauth2_flow = None
table_record.instructions = None
manager = MCPServerManager()
@ -895,6 +896,7 @@ class TestSigV4BuildFromTable:
table_record.tool_name_to_description = None
table_record.byok_api_key_help_url = None
table_record.oauth2_flow = None
table_record.instructions = None
manager = MCPServerManager()