Skip to content

Commit f3bf91b

Browse files
committed
test: remove unused local variable from test_integration.py
1 parent 756d441 commit f3bf91b

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/server/test_integration.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
AgentCard,
1616
Artifact,
1717
DataPart,
18-
GetTaskPushNotificationConfigSuccessResponse,
1918
InternalError,
2019
InvalidRequestError,
2120
JSONParseError,
@@ -337,13 +336,6 @@ def test_get_push_notification_config(
337336
),
338337
)
339338

340-
# Wrap the response in GetTaskPushNotificationConfigSuccessResponse
341-
mock_response = GetTaskPushNotificationConfigSuccessResponse(
342-
id='123', # Match the request ID
343-
jsonrpc='2.0',
344-
result=task_push_config,
345-
)
346-
347339
handler.on_get_task_push_notification_config.return_value = task_push_config
348340

349341
# Send request
@@ -394,11 +386,6 @@ async def stream_generator():
394386
'lastChunk': last[i],
395387
'kind': 'artifact-update',
396388
}
397-
event_data: dict[str, Any] = {
398-
'jsonrpc': '2.0',
399-
'id': 123,
400-
'result': task_artifact_update_event_data,
401-
}
402389

403390
yield TaskArtifactUpdateEvent.model_validate(
404391
task_artifact_update_event_data

0 commit comments

Comments
 (0)