Skip to content

Commit 9871498

Browse files
committed
update jsonrpc handler test
1 parent 48a0fd7 commit 9871498

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/server/request_handlers/test_jsonrpc_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ async def test_on_cancel_task_success(self) -> None:
149149
call_context = ServerCallContext(state={'foo': 'bar'})
150150

151151
async def streaming_coro():
152+
mock_task.status.state = TaskState.canceled
152153
yield mock_task
153154

154155
with patch(

0 commit comments

Comments
 (0)