File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11import asyncio
2-
32from collections .abc import AsyncGenerator
43from typing import NamedTuple
54from unittest .mock import ANY , AsyncMock
87import httpx
98import pytest
109import pytest_asyncio
11-
1210from grpc .aio import Channel
1311
1412from a2a .client .transports import JsonRpcTransport , RestTransport
3836 TransportProtocol ,
3937)
4038
41-
4239# --- Test Constants ---
4340
4441TASK_FROM_STREAM = Task (
@@ -130,7 +127,7 @@ def agent_card() -> AgentCard:
130127 default_input_modes = ['text/plain' ],
131128 default_output_modes = ['text/plain' ],
132129 preferred_transport = TransportProtocol .jsonrpc ,
133- supports_authenticated_extended_card = True ,
130+ supports_authenticated_extended_card = False ,
134131 additional_interfaces = [
135132 AgentInterface (
136133 transport = TransportProtocol .http_json , url = 'http://testserver'
@@ -710,8 +707,6 @@ async def test_http_transport_get_card(
710707 )
711708 transport = transport_setup .transport
712709
713- # The transport starts with a minimal card, get_card() fetches the full one
714- transport .agent_card .supports_authenticated_extended_card = True
715710 result = await transport .get_card ()
716711
717712 assert result .name == agent_card .name
You can’t perform that action at this time.
0 commit comments