Skip to content

Commit ed7cff4

Browse files
committed
test: applying Gemini's suggestions
1 parent 91c4909 commit ed7cff4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

tests/client/test_card_resolver.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,18 @@ def valid_agent_card_data():
4747
'name': 'TestAgent',
4848
'description': 'A test agent',
4949
'version': '1.0.0',
50-
# Add other required fields based on your AgentCard model
50+
'url': 'https://example.com/a2a',
51+
'capabilities': {},
52+
'default_input_modes': ['text/plain'],
53+
'default_output_modes': ['text/plain'],
54+
'skills': [
55+
{
56+
'id': 'test-skill',
57+
'name': 'Test Skill',
58+
'description': 'A skill for testing',
59+
'tags': ['test'],
60+
}
61+
],
5162
}
5263

5364

@@ -73,6 +84,7 @@ def test_init_with_custom_path(self, mock_httpx_client, base_url):
7384
agent_card_path=custom_path,
7485
)
7586
assert resolver.base_url == base_url
87+
assert resolver.agent_card_path == custom_path[1:]
7688

7789
def test_init_strips_leading_slash_from_agent_card_path(
7890
self, mock_httpx_client, base_url

0 commit comments

Comments
 (0)