MCPcopy
hub / github.com/nonebot/nonebot2 / _FakeClient

Class _FakeClient

tests/test_driver.py:621–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619 return False
620
621 class _FakeClient:
622 def request(self, *args: object, **kwargs: object) -> _FakeRequestContext:
623 return _FakeRequestContext()
624
625 session = AiohttpSession()
626 session._client = _FakeClient() # type: ignore[assignment]

Calls

no outgoing calls