Skip to content

Commit f6e316d

Browse files
committed
test: update list[message]
1 parent 934c0c5 commit f6e316d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/a2a/test_client.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,13 @@ async def test_answer_with_dict(data: dict[str, Any] | DataPart) -> None:
105105
]
106106

107107
# assert correct answer
108-
assert client_agent.a_receive.call_args[0][0] == {
109-
"content": "Hi, I am mock client!",
110-
"role": "assistant",
111-
"name": "test-agent",
112-
}
108+
assert client_agent.a_receive.call_args[0][0] == [
109+
{
110+
"content": "Hi, I am mock client!",
111+
"role": "assistant",
112+
"name": "test-agent",
113+
}
114+
]
113115

114116

115117
def test_build_agent_from_card() -> None:

0 commit comments

Comments
 (0)