@@ -457,7 +457,7 @@ async def test_set_push_notification_success(self) -> None:
457457 mock_task_store .get .return_value = mock_task
458458 task_push_config = TaskPushNotificationConfig (
459459 task_id = mock_task .id ,
460- pushNotificationConfig = PushNotificationConfig (
460+ push_notification_config = PushNotificationConfig (
461461 url = 'http://example.com'
462462 ),
463463 )
@@ -492,7 +492,7 @@ async def test_get_push_notification_success(self) -> None:
492492 mock_task_store .get .return_value = mock_task
493493 task_push_config = TaskPushNotificationConfig (
494494 task_id = mock_task .id ,
495- pushNotificationConfig = PushNotificationConfig (
495+ push_notification_config = PushNotificationConfig (
496496 url = 'http://example.com'
497497 ),
498498 )
@@ -579,7 +579,7 @@ async def streaming_coro():
579579 )
580580 request .params .configuration = MessageSendConfiguration (
581581 accepted_output_modes = ['text' ],
582- pushNotificationConfig = PushNotificationConfig (
582+ push_notification_config = PushNotificationConfig (
583583 url = 'http://example.com'
584584 ),
585585 )
@@ -761,7 +761,7 @@ async def test_push_notifications_not_supported_error(self) -> None:
761761 # Act & Assert
762762 task_push_config = TaskPushNotificationConfig (
763763 task_id = 'task_123' ,
764- pushNotificationConfig = PushNotificationConfig (
764+ push_notification_config = PushNotificationConfig (
765765 url = 'http://example.com'
766766 ),
767767 )
@@ -825,7 +825,7 @@ async def test_on_set_push_notification_no_push_config_store(self) -> None:
825825 # Act
826826 task_push_config = TaskPushNotificationConfig (
827827 task_id = mock_task .id ,
828- pushNotificationConfig = PushNotificationConfig (
828+ push_notification_config = PushNotificationConfig (
829829 url = 'http://example.com'
830830 ),
831831 )
@@ -1049,7 +1049,7 @@ async def test_on_get_push_notification(self) -> None:
10491049 request_handler = AsyncMock (spec = DefaultRequestHandler )
10501050 task_push_config = TaskPushNotificationConfig (
10511051 task_id = mock_task .id ,
1052- pushNotificationConfig = PushNotificationConfig (
1052+ push_notification_config = PushNotificationConfig (
10531053 id = 'config1' , url = 'http://example.com'
10541054 ),
10551055 )
@@ -1085,7 +1085,7 @@ async def test_on_list_push_notification(self) -> None:
10851085 request_handler = AsyncMock (spec = DefaultRequestHandler )
10861086 task_push_config = TaskPushNotificationConfig (
10871087 task_id = mock_task .id ,
1088- pushNotificationConfig = PushNotificationConfig (
1088+ push_notification_config = PushNotificationConfig (
10891089 url = 'http://example.com'
10901090 ),
10911091 )
@@ -1116,9 +1116,9 @@ async def test_on_list_push_notification_error(self) -> None:
11161116
11171117 # Create request handler without a push notifier
11181118 request_handler = AsyncMock (spec = DefaultRequestHandler )
1119- task_push_config = TaskPushNotificationConfig (
1119+ _ = TaskPushNotificationConfig (
11201120 task_id = mock_task .id ,
1121- pushNotificationConfig = PushNotificationConfig (
1121+ push_notification_config = PushNotificationConfig (
11221122 url = 'http://example.com'
11231123 ),
11241124 )
0 commit comments