MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / answer

Function answer

lib/cli/tests/test_plus_api.py:562–564  ·  view source on GitHub ↗
(request: httpx.Request)

Source from the content-addressed store, hash-verified

560 sent: list[httpx.Request] = []
561
562 def answer(request: httpx.Request) -> httpx.Response:
563 sent.append(request)
564 return httpx.Response(200, json={})
565
566 transport = httpx.MockTransport(answer)
567 # A machine or OS proxy would mount a real transport ahead of the mock one.

Callers 1

_answerMethod · 0.50

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected