MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / __init__

Method __init__

tests/test_registration_sentinel_flow.py:29–33  ·  view source on GitHub ↗
(self, status_code=200, payload=None, text="", headers=None)

Source from the content-addressed store, hash-verified

27
28class DummyResponse:
29 def __init__(self, status_code=200, payload=None, text="", headers=None):
30 self.status_code = status_code
31 self._payload = payload
32 self.text = text
33 self.headers = headers or {}
34
35 def json(self):
36 if self._payload is None:

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected