MCPcopy Create free account
hub / github.com/github/copilot-sdk / mock_request

Method mock_request

python/test_commands_and_elicitation.py:59–61  ·  view source on GitHub ↗
(method, params, **kwargs)

Source from the content-addressed store, hash-verified

57 original_request = client._client.request
58
59 async def mock_request(method, params, **kwargs):
60 captured[method] = params
61 return await original_request(method, params)
62
63 client._client.request = mock_request
64

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected