MCPcopy Index your code
hub / github.com/github/copilot-sdk / mock_request

Method mock_request

python/test_client.py:1379–1381  ·  view source on GitHub ↗
(method, params, **kwargs)

Source from the content-addressed store, hash-verified

1377 original_request = client._client.request
1378
1379 async def mock_request(method, params, **kwargs):
1380 captured[method] = params
1381 return await original_request(method, params, **kwargs)
1382
1383 client._client.request = mock_request
1384 await client.create_session(

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected