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:
parent
693c846617
commit
e20c114811
@ -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()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user