Skip to content

Commit 50c1984

Browse files
Update tests/server/routes/test_agent_card_route.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 32936bd commit 50c1984

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/server/routes/test_agent_card_route.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async def modifier(card):
4747

4848
card_route = AgentCardRoutes(mock_agent_card, card_modifier=modifier)
4949
app = Starlette()
50-
app.routes.append(card_route.route)
50+
app.routes.append(card_route.routes[0])
5151
client = TestClient(app)
5252

5353
response = client.get('/')

0 commit comments

Comments
 (0)