feat: add message to ProgressNotification (#435)
Co-authored-by: ihrpr <inna.hrpr@gmail.com>
This commit is contained in:
parent
c5782129bc
commit
9e66f7ce89
1 changed files with 387 additions and 12 deletions
|
|
@ -39,11 +39,11 @@ async def test_progress_token_zero_first_call():
|
|||
mock_session.send_progress_notification.call_count == 3
|
||||
), "All progress notifications should be sent"
|
||||
mock_session.send_progress_notification.assert_any_call(
|
||||
progress_token=0, progress=0.0, total=10.0
|
||||
progress_token=0, progress=0.0, total=10.0, message=None
|
||||
)
|
||||
mock_session.send_progress_notification.assert_any_call(
|
||||
progress_token=0, progress=5.0, total=10.0
|
||||
progress_token=0, progress=5.0, total=10.0, message=None
|
||||
)
|
||||
mock_session.send_progress_notification.assert_any_call(
|
||||
progress_token=0, progress=10.0, total=10.0
|
||||
progress_token=0, progress=10.0, total=10.0, message=None
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue