We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce68b25 commit 8f5df96Copy full SHA for 8f5df96
1 file changed
tests/client/test_non2xx_status.py
@@ -26,7 +26,7 @@ def _make_request_context(self, request_id: str = "test-123") -> MagicMock:
26
ctx.session_message.message = MagicMock(spec=JSONRPCRequest)
27
ctx.session_message.message.id = request_id
28
ctx.read_stream_writer = AsyncMock()
29
- ctx.client = AsyncMock()
+ ctx.client = MagicMock() # Use MagicMock for client (not AsyncMock)
30
ctx.metadata = None
31
return ctx
32
0 commit comments