Skip to content

Commit 47b4ac2

Browse files
Updated unit tests
1 parent b2bb57f commit 47b4ac2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/integration/test_client_server_integration.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import asyncio
2-
32
from collections.abc import AsyncGenerator
43
from typing import NamedTuple
54
from unittest.mock import ANY, AsyncMock
@@ -8,7 +7,6 @@
87
import httpx
98
import pytest
109
import pytest_asyncio
11-
1210
from grpc.aio import Channel
1311

1412
from a2a.client.transports import JsonRpcTransport, RestTransport
@@ -38,7 +36,6 @@
3836
TransportProtocol,
3937
)
4038

41-
4239
# --- Test Constants ---
4340

4441
TASK_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

0 commit comments

Comments
 (0)