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

Method __init__

tests/test_registration_engine.py:12–17  ·  view source on GitHub ↗
(self, status_code=200, payload=None, text="", headers=None, on_return=None)

Source from the content-addressed store, hash-verified

10
11class DummyResponse:
12 def __init__(self, status_code=200, payload=None, text="", headers=None, on_return=None):
13 self.status_code = status_code
14 self._payload = payload
15 self.text = text
16 self.headers = headers or {}
17 self.on_return = on_return
18
19 def json(self):
20 if self._payload is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected