Skip to content

Commit b109114

Browse files
authored
Merge branch 'main' into md-agentcards
2 parents c0fe636 + 270ea9b commit b109114

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/client/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ async def test_init_strips_slashes(self, mock_httpx_client: AsyncMock):
165165
resolver = A2ACardResolver(
166166
httpx_client=mock_httpx_client,
167167
base_url='http://example.com/', # With trailing slash
168-
agent_card_path='/.well-known/agent.json/', # With leading/trailing slash
168+
agent_card_path='/.well-known/agent-card.json/', # With leading/trailing slash
169169
)
170170
assert (
171171
resolver.base_url == 'http://example.com'
172172
) # Trailing slash stripped
173173
# constructor lstrips agent_card_path, but keeps trailing if provided
174-
assert resolver.agent_card_path == '.well-known/agent.json/'
174+
assert resolver.agent_card_path == '.well-known/agent-card.json/'
175175

176176
@pytest.mark.asyncio
177177
async def test_get_agent_card_success_public_only(

tests/server/apps/jsonrpc/test_serialization.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ def test_starlette_agent_card_with_api_key_scheme_alias(
5959
client = TestClient(app_instance.build())
6060

6161
response = client.get('/.well-known/agent-card.json')
62-
print(response.status_code, response.content)
6362
assert response.status_code == 200
6463
response_data = response.json()
6564

@@ -92,7 +91,6 @@ def test_fastapi_agent_card_with_api_key_scheme_alias(
9291
client = TestClient(app_instance.build())
9392

9493
response = client.get('/.well-known/agent-card.json')
95-
print(response.status_code, response.content)
9694
assert response.status_code == 200
9795
response_data = response.json()
9896

0 commit comments

Comments
 (0)