Skip to content

Commit c27d7f5

Browse files
committed
Fix bad merge
1 parent 63d99bc commit c27d7f5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/server/apps/jsonrpc/test_jsonrpc_app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def test_jsonrpc_app_build_method_abstract_raises_typeerror(
8282
mock_agent_card.url = 'http://mockurl.com'
8383
# Ensure 'supportsAuthenticatedExtendedCard' attribute exists
8484
mock_agent_card.supports_authenticated_extended_card = False
85-
mock_agent_card.capabilities = AgentCapabilities(streaming=True)
8685

8786
# This will fail at definition time if an abstract method is not implemented
8887
with pytest.raises(
@@ -120,7 +119,7 @@ def mock_handler(self):
120119
def test_app(self, mock_handler):
121120
mock_agent_card = MagicMock(spec=AgentCard)
122121
mock_agent_card.url = 'http://mockurl.com'
123-
mock_agent_card.supportsAuthenticatedExtendedCard = False
122+
mock_agent_card.supports_authenticated_extended_card = False
124123

125124
return A2AStarletteApplication(
126125
agent_card=mock_agent_card, http_handler=mock_handler

0 commit comments

Comments
 (0)