Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions python/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,12 @@ async def test_resume_session_sends_overrides_built_in_tool(self):
)

captured = {}
original_request = client._client.request

async def mock_request(method, params):
captured[method] = params
return await original_request(method, params)
# Return a fake response instead of calling the real CLI,
# which would fail without auth credentials.
return {"sessionId": params["sessionId"]}

client._client.request = mock_request

Expand Down
Loading