Skip to content

Commit 2324f8e

Browse files
committed
Remove redundant checks in tests
1 parent c1d59c3 commit 2324f8e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/server/tasks/test_inmemory_push_notifications.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ async def test_send_notification_http_status_error(
226226
'Error sending push-notification',
227227
mock_logger.exception.call_args[0][0],
228228
)
229-
self.assertIn(str(http_error), mock_logger.exception.call_args[0][0])
230229

231230
@patch('a2a.server.tasks.base_push_notification_sender.logger')
232231
async def test_send_notification_request_error(
@@ -248,7 +247,6 @@ async def test_send_notification_request_error(
248247
'Error sending push-notification',
249248
mock_logger.exception.call_args[0][0],
250249
)
251-
self.assertIn(str(request_error), mock_logger.exception.call_args[0][0])
252250

253251
@patch('a2a.server.tasks.base_push_notification_sender.logger')
254252
async def test_send_notification_with_auth(self, mock_logger: MagicMock):

0 commit comments

Comments
 (0)