test(proxy): refresh MCP header fixtures

This commit is contained in:
冯基魁 2026-07-11 03:25:25 +08:00
parent 0a4ad6e8c5
commit f16e304bc9
2 changed files with 14 additions and 2 deletions

View file

@ -995,6 +995,12 @@ class TestSigV4BuildFromTable:
table_record.instructions = None
table_record.source_url = None
table_record.submitted_by = None
table_record.token_exchange_endpoint = None
table_record.audience = None
table_record.subject_token_type = None
table_record.token_exchange_profile = None
table_record.timeout = None
table_record.max_concurrent_requests = None
manager = MCPServerManager()
@ -1058,6 +1064,12 @@ class TestSigV4BuildFromTable:
table_record.instructions = None
table_record.source_url = None
table_record.submitted_by = "user-submitter"
table_record.token_exchange_endpoint = None
table_record.audience = None
table_record.subject_token_type = None
table_record.token_exchange_profile = None
table_record.timeout = None
table_record.max_concurrent_requests = None
manager = MCPServerManager()

View file

@ -2570,7 +2570,7 @@ class TestPreviewOpenAPITools:
registered_summary_to_name: dict = {}
def fake_create_tool_function(path, method, operation, base_url): # noqa: ANN001
def fake_create_tool_function(path, method, operation, base_url):
def _f():
return None
@ -2583,7 +2583,7 @@ class TestPreviewOpenAPITools:
)
class _StubRegistry:
def register_tool(self, name, description, input_schema, handler): # noqa: ANN001
def register_tool(self, name, description, input_schema, handler):
registered_summary_to_name[description] = name
monkeypatch.setattr(